HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Image uploads not properly using EXIF rotation.

I'm on Vanilla 3.1, and have enabled image uploads for my forum. Uploaded images from mobile devices do not appear to be respecting EXIF rotation information, as handled in class.uploadimage.php.

Example: N9G4FW5LZK4W.jpeg when loaded in-line in the forum shows rotated as 90deg left. Loaded standalone in-browser it is properly shown in portrait orientation. EXIF data shows rotation information as part of the image.

Apple phone images loaded in iOS Safari rotate correctly, but are shown incorrectly in other browsers.

Any thoughts?

Comments

Sign In or Register to comment.