Comment 3 for bug 1792039

Revision history for this message
François Marier (fmarier) wrote : Re: Image Automatically Rotated Wrong-Way Up

Actually the problem comes before jpegoptim enters the picture. The images served out of /uploaded/ are not rotated properly on the "Crop photo" page and the browser will only apply the EXIF rotation if the image is navigated to directly.

Maybe we need to run exiftran (https://www.kraxel.org/blog/linux/fbida/) first on all of the uploaded images to ensure that the orientation is fixed up before crop happens.