Whenever a user uploads an image from a phone (iPhone in particular) and that image is processed by EE’s native image processing routine using GD2, the processed images are rotated and the original shows in a correct orientation. Somehow GD2, in the way EE uses it, ignores EXIF info and rotates it. WHY and how do I fix this?
Ah- it’s because the phones are using exif info to handle rotation. If that’s stripped, the image really is sideways.
I’ve got a fix working, but it needs a bit more clean up and then I’ll push it up to a branch and ping here if you want to test.
OK, it’s not pulled into stability for the next release yet, as I want to get some additional eyeballs on it. But it’s ready for more testing. Pull request is up here: https://github.com/ExpressionEngine/ExpressionEngine/pull/277
So to patch, you just need the one changed file system/ee/legacy/libraries/Filemanager.php here https://raw.githubusercontent.com/ExpressionEngine/ExpressionEngine/e8785aa6761d949858b280a8aed2b646da2f2dea/system/ee/legacy/libraries/Filemanager.php
Update, I’m not sure if this is related to the new file but an exceptionally long delay in file upload has occurred. Where it once took about 10-20 seconds (max) to upload an image it now can take up to 5 minutes. I’ve researched every angle of this I can but cannot find any other cause. Server is fine, etc…
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.