I know this has been an age old discussion on here but as far as I know it hasn't been "solved".
Some phones don't rotate images based on the orientation of the camera, resulting in a side-on image with some EXIF data telling the user that it needs to be rotated. When images are displayed in the browser they rotate accordingly, but when they are embedded in IMG tags (like in phpbb) they display in their original form, ignoring the EXIF.
- Tell the users their phones are crap and they should get a new one (not ideal
- Complain that it is the browser's job to handle it better (Firefox can do it in CSS, the others can't)
- Look for the EXIF tag on upload and rotate the image then... followed by stripping the EXIF tag to prevent further browser manipulation
It's the last option I am interested in solving. I know PHPBB uses Plupload to upload images, I believe this support auto-rotation if you use the "preserve-headers = false" flag. I haven't managed to test this yet as I can't see where to set it. Can anyone point me in the right direction?
I apologise if there is an easy solution for this that I haven't seen, but I did do quite a bit of searching.
Any help much appreciated