zeroday wrote:
I see that the new Files function has the ability to change the orientation of the image automatically
It doesn't actually change the rotation in the file. It simply rotates the image in browser according to EXIF, if browser and server supports it.
zeroday wrote:This is a feature I wanted for soooo long, but I need to have it in the Gallery
There are clear reasons why we can't add this into X3: Many users have already rotated their images on upload, and if we now tell the browser to rotate the image based on EXIF, it will cause compound incorrect rotations, which would also affect thumbnails.
zeroday wrote:As I put all my images on a NAS where there is no upload needed for X3, the gallery does not change the orientation when accessing the image throught the gallery
Correct. As mentioned, in X3 we can't tell browser to follow EXIF orientation for images, because many images will then be rotated incorrectly. Also, if we are to do this, we need to invert width/height in the popup (because it needs image dimensions) and also rotate thumbnails in PHP according to EXIF.
The best solution for fixing images that are rotated according to EXIF for browsers and websites, is to run a tool that batch-fixes all images ... In other words, it reads EXIF rotation, changes the image physical rotation accordingly, and then removed the EXIF rotation value. Also
imageoptim does this ...
zeroday wrote:I just read something about X3 will not support this but X4 .. Considering I am using X3 for many year (14 ?) How long will X4 take to be released? ;)
14!? I think more like 7 (see X3
status update) :D I am currently contemplating X4. In any case, it will build upon much of the work done with
files.gallery, which I am currently upgrading.