Gumboots wrote: Tue Aug 13, 2024 10:19 pm PC's (and forum software) don't read this flag by default, so some images get displayed with the wrong orientation.
This is supported by just about everything including browsers. What happens is the orientation is removed or set incorrectly during manipulation by plupload or with thumbnail creation server side. The browser no longer knows which end is up. It's only correct if they took the image using landscape and the phone is not "upside down".
The fix I linked to above should fix it, you may ls also need to change the value for "strip meta data".
Years ago you could just add
preserve_headers: false
around line 268 in /phpbb/plupload/plupload.php This is now added with the remove meta data option in the ACP. What happens with that flag is pluplaod will rotate the image to correct orientation before stripping the EXIF data preventing any issues down the line with thumbnail creation.
For whatever reason this by itself stopped working a few years back, I believe it has something to do with changed browser behaviors. The fix I linked to above should resolve that issue. As noted in the linked page it's third party software and will not be fixed by phpBB. That's not to say it won't be fixed some other way down the line.
-----------------
If you want to preserve the EXIF data it should only effect thumbnails. There is extension for using Imagick for 3.2 that correctly handles the orientation for thumbs but I don't know if it works for 3.3, additionally you need Imagick installed. Read this first before even trying it.
https://www.phpbb.com/customise/db/exte ... r/faq/2791
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”
Attributed - Thomas Edison