I’ve made a few sites with Kirby, and just now I’ve stumbled acros this problem. When I upload new pictures, they show up wrong when they include an EXIF rotation tag. Is there a way of getting Kirby to rotate the pictures correctly (and stripping the EXIF data?) after uploading them?
I’ve found this : Auto rotate and remove EXIF
But I have no idea how to implement this with the following PHP script : PHP read_exif_data and Adjust Orientation - Stack Overflow
I’ve tested the EXIF rotation with these images : GitHub - recurser/exif-orientation-examples: Example images for the various EXIF orientation flags, in both landscape and portrait orientation.
Or is there an easier solution? (knowing the things I’ve seen in this forum, there might be a one line solution to this ) Any help would be more than welcome right now.