![]() |
|
Image metadata not preserved if full image is protected - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Image metadata not preserved if full image is protected (/thread-13848.html) |
Image metadata not preserved if full image is protected - kuzzzma - 22-06-2023 I ran into a specific case of metadata preservation issue with cached images. Details: Options->Image Issue: zpBase theme uses standard template-functions for: printDefaultSizedImage - to display photo in full image page. If "Full image protection" is set to be used (Protected View or Download, "cache full image" enabled OR disabled) in Options->Image, getFullImageURL() leads to function getProtectedImageURL to be used and resulting image lacks ALL metadata, despite enabling IPTC preservation. So, this generation of filename_FULL version lacks options to preserve metadata when it's essential for this use-case. Image metadata not preserved if full image is protected - acrylian - 22-06-2023
First, this is not the full image, it is a "sized" image and the page is the single image page which basically never displays the full iamge anyway. The full image in protected view is served via thet images processor, see also the note:
If meta data is preserved on processing depends on the graphic lib used. As far as I know only Imagick does but GD can't. However there is a GD function named Image metadata not preserved if full image is protected - kuzzzma - 22-06-2023 checked and switched to Imagick for processing, love when my problems have solutions already) Maybe this should be also in the Notes for IPTC copyright embedding option, that you have to use Imagick to preserve it in full size too? Image metadata not preserved if full image is protected - acrylian - 22-06-2023 Great. The GD limitations are actually known for year, I was sure it is somewhere noted at least on the user guide but we'll check. |