![]() |
|
1.6a Incorrect image orientation - 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: 1.6a Incorrect image orientation (/thread-13744.html) |
1.6a Incorrect image orientation - eclrgp - 31-08-2022 The EXIF orientation value seems to be ignored by 1.6a when creating cache image. Image which needs 180 degree rotation appears upside down but with watermark in the correct orientation. 1.6a Incorrect image orientation - acrylian - 31-08-2022 I am pretty sure there have been no changes in this area since 1.5.9 respectively even before. Note that EXIF data is not really a fixed standard so it might be that your camera fills in values off the standard. Also the graphic library especially GD must have support for rotation (setup will tell about that). Also try to clear the image cache regarding the watermark and have it re-created. 1.6a Incorrect image orientation - eclrgp - 31-08-2022 Images are displayed correctly in 1.5.9. The EXIF data does have the correct value according to exiftool. I have cleared the cache many times so make sure that difference between GD and Imagick is real. 1.6a Incorrect image orientation - acrylian - 31-08-2022 I have checked and I really cannot find any change related to rotation of images when creating cached images… We have restructured a bit and there is a change for flipping images but not to rotating as far as I remember… Are you sure your GDlib can rotate? GDlib may be compiled without that capability. Re-run setup to see if there is a note. In your specific case for now just use Imagick then if it works I would say. 1.6a Incorrect image orientation - eclrgp - 31-08-2022 It looks as the code has been re-worked to create a class graphicsBase which is extended by graphicsGD and graphicsImagick. 1.6a Incorrect image orientation - acrylian - 31-08-2022 Yes, as said restructured but not changed in functionality actually. That does not meant there is no issue. We will have to try to reproduce that. That can take a while. 1.6a Incorrect image orientation - eclrgp - 31-08-2022 Even using Imagick the cached image is generated without rotation but with the watermark having the correct orientation. It is only when clicking on it to display full that the image is displayed with the correct orientation but the watermark is then inverted. 1.6a Incorrect image orientation - acrylian - 31-08-2022 It could theoretically be an PHP 7.4 vs 8.1 issue (we have not directly tested 8.1 since our local dev environment does not have it yet), we will try to reproduce this behaviour. What kind of watermark are you using? PNG with colors, black&white and/or transparency? 1.6a Incorrect image orientation - eclrgp - 31-08-2022 Watermark is colour PNG with transparency 1.6a Incorrect image orientation - RM25 - 16-07-2023 Hi everyone, 1.6a Incorrect image orientation - acrylian - 16-07-2023 First, check if you have enabled the related meta data fields for importing. Second, try 1.6.1a (development build from GitHub) which has already some fixes for images rotating and flipping. 1.6a Incorrect image orientation - RM25 - 16-07-2023 How can I check if I have enabled the related meta data field for importing? My images are in the folder albums in /var/www/zenphoto/ ; and I have changed the exif orientation with exiftool or shotwell. Something I really don't understand in my problem is which value of orientation is taking/reading by zenphoto? beacause most of my photos were already corrected by shotwell when I putted them in the albums of zenphoto. 1.6a Incorrect image orientation - acrylian - 17-07-2023 See the image options. As said 1.6 has a bug that it does not process the orientation value correctly. 1.6a Incorrect image orientation - RM25 - 17-07-2023 Thank you very much Acrylian, everything works perfectly with Zenphoto 1.6.1a. 1.6a Incorrect image orientation - acrylian - 18-07-2023 Thanks, great it is working! |