Image Gallery Issue

Post

Posted
Rating:
#3930 (In Topic #785)

thumb is correct orientation but next size up is not...

Howdy,

Just mass uploaded images to a new gallery and upon review;

1. the thumbs all here;  

Code (php)

  1.  


all are automatically rotated as needed and all correct. 

2.   If you click for a large view of an image it no longer auto-corrects orientation..... for example

Code (php)

  1.  


 

Post

Posted
Rating:
#3933
Hi,

Cameras often save the pictures at the wrong rotation, then EXIF is used to signal to image software to rotate it to where it should be.

You could correct by downloading the images from uploads/galleries and processing them according to:
Fix iPhone EXIF rotation from the command line
In the future you'd run this process before the mass-add.

Composr does fix EXIF rotation usually - for thumbnails, and individually added images that are too large (which most camera images are). But the mass-add doesn't have that workflow currently (possibly it would be too intensive without moving it into a background task because it literally has to re-save every image).

I am tracking it in this issue:
0002052: Formal implementation for cleanup of uploaded images - Composr CMS feature tracker

There is some web browser support for this in Firefox, but other browsers have not adopted it. In most browsers viewing an image outside an HTML page will correct the rotation, but within an <img> tag it will not.
0 guests and 0 members have recently viewed this.