Open garyking opened 9 years ago
Thanks for the bug report and test case.
The problem is that Firefox doesn't interpret EXIF rotation by default, and from what I can tell, EXIF handling isn't well-standardized in browsers in general.
Background:
When I add "image-orientation: from-image" CSS style to the pop-up's html image, the rotation problem is fixed! But it'll take more work to get right because the aspect ratio is still rotated (the image is stretched unless it was a square image).
For 180-degree rotations this partial fix should be fine. It's planned for the next release, 3.5beta1, if testing shows that it doesn't cause other problems.
To get to the image, go to this Wikipedia article section and check out the image with the caption "A Chipotle restaurant in Brandon, Florida".
I'm assuming this is because the photo was probably originally taken upside down (according to the way the camera, presumably a smartphone, was held), and then the image is flipped back to normal through EXIF data. (I've had this happen before to my own photos.)