Recently Browsing 0 members
No registered users viewing this page.
Hi, on a site I want to disable access to original images and only allow to access thumbnails and watermarked image variations.
A good solution for protecting original images can be found a bit down in this thread:
Old content of this initial post:
By Guy Incognito
I seem to be running into a repeated fatal error in a fresh PW install version 3.0.148. I can't quite put my finger on the pattern but it seems to be around deleting image fields or removing images from certain image fields.
This is the trace from the log generated by trying to save a page and delete an image from an image field:
Fatal Error: Uncaught Error: Cannot access protected property Pageimage::$original in /wire/core/PageimageVariations.php:256 Stack trace: 1. /wire/core/Pageimage.php(1327): PageimageVariations->getInfo() 2. /wire/core/Wire.php(386): Pageimage->___isVariation() 3. /wire/core/WireHooks.php(823): Wire->_callMethod() 4. /wire/core/Wire.php(450): WireHooks->runHooks() 5. /wire/core/Pageimage.php(1369): Wire->__call() 6. /wire/core/Pageimage.php(399): Pageimage->getOriginal() 7. /wire/core/WireData.php(333): Pageimage->get() 8. /wire/core/PageimageVariations.php(256): Pro Line 256 of /wire/core/PageimageVariations.php Earlier in the day I was experimenting with custom fields for images for the first time and kept running into this error, thinking it was me using this feature wrong and not having time to read up I deleted the custom image fields template and went about my business. So now I don't know if I triggered an issue or whether it was never related to the custom image fields in the first place?
By ICF Church
Anyone else having this problem?
- Repeater (matrix & normal) with mutlilanguage fields (text, textarea…)
- Backend language set to something other than default (ie. German)
- Add a new repeater Item (ajax, I found no way to possible to disable it with matrix)
(Notice how the default language tab is active instead of the backend language…)
- Write something into the (default language) field
- Try to save, if field is required, this will not work. If not required, then when reloading, the content will be inside the backend language field, instead of the default language field who was (presumably) active
When loading a new repeater element with ajax, the default langue tab is active, but the backend language inputfield is visible (with no visual indication). When writing into the field, it will populate the backend language. When manually clicking on the default language tab (which is already active), the field will switch to the actual default language field (which is [now] empty) (that can now be populated…)
Also Notice, the labels of the elements to be added are in default language as well instead of the translated label (images instead of Bilder)…
ProcessWire 3.0.148, Profields 0.0.5…
Is it my system configuration, or does anyone else have the same issue? This is a screen recording of the problem:
Screen Recording 2020-02-25 at 14.18.31.mov
I'm using some Custom fields for images:
When I save the page, and return the fields are blank. When I re-add the text to the fields and save again then the fields save as expected.
I know this is stated as being quite experimental but it's super useful feature I'd love to get working correctly.
I have fields that are CKEditor fields but have overidden this on the image specific template. I've also tried it with regular text fields and I get the same bug.
(currently using Processwire 3.0.155)
I've found this issue is specific to editing on pages using the PageTable fieldtype. The fields are not saving when I save the page in the PageTable.
By Robin S
Displays image tags overlaid on the thumbnail using customisable colours. This makes it easier to see which images have which tags without needing to open the edit pane for individual images or changing to the list view.
Enable tags for one or more image fields. Install the Image Thumbnail Tags module. Optionally configure colours for any of your tags.