gebeer / fieldtypeimagereference Goto Github PK
View Code? Open in Web Editor NEWFieldtype and Inputfield for ProcessWire CMS
Fieldtype and Inputfield for ProcessWire CMS
Hi, thanks for the module. When I select an image from a predefined folder, after save, I get:
Cannot access protected property ProcessWire\Pageimage::$original in /wire/core/PageimageVariations.php:256
PHP Notice: Undefined property: ProcessWire\PageimageDebugInfo::$original in ...\wwwroot\wire\core\PageimageDebugInfo.php:71
It might be related to PHP 7.4 or might be something with my installation or other hooks. I can't provide more info right now but will dig into this later.
edit: it's better if I set 'allowSelf' => false in populateImages(), but after every page refresh, new variations are created...strange
The preview image is set by default to 200px or 100px but isn't responsive. When it falls on template's fields layout where container is pretty narrow (20/30%) the image doesn't fit the space by resizeing itself but goes outside the boundaries.
It would be great if it could responsively adapt to its container.
BTW, great work. Can't wait its supporting for multiple images. Now I'm using repeaters for galleries but with that change will be a charm to build image galleries.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.