#2407 - Gallery images are being rotated in some pages
| Identifier | #2407 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Gallery images are being rotated in some pages |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | galleries |
| Description | When you 'view image' in the browser, the images are displayed in their correct orientation. However, anything scaled down (we post large images) are rotated. |
| Steps to reproduce | An example of which is: http://smallgreenpinky.com/index.php?page=galleries&type=image&id=primrose-and-forget-me |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
Could you attach the original image to this issue, just so I'm 100% sure I have the original image to test with.
This will likely be related to EXIF rotation of images. Cameras store them in weird ways.
In which case, could you tell me if you have the PHP exif support enabled? It should be in the PHP-info.
(Click to enlarge)
EXIF Version 1.4 $Id$
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
For the Gallery view (sub gallery) some images are displaying correctly, others are not. Then when you click through those images, they may (or may not) be rotated
The best place to see this happening is:
https://smallgreenpinky.com/index.php?page=galleries&type=browse&id=pictures-from-pinky%2Fthe-courts-garden
Aubrieta and Tulips thumbnail is correct but is upside down when you click through. Primrose and Forget-me-nots is correct as a thumbnail and flipped when you click through, the same for 'Fringed white tulip'
I have been correcting these images and re-uploading but it seems odd that there is a difference between thumbnail and actual display going on.
Browser <img> tags don't do EXIF correction, even when EXIF is there - but when you view the image standalone in the browser, the browser does do it. So there was:
1) Correct thumbnails
2) Incorrect full view of images via <img> tag
3) Correct view of the full image standalone in the browser
Thank you for such a quick response.