Portrait photos not being rotated?
brashquido
Joined: 2006-09-13
Posts: 60 |
Posted: Mon, 2009-07-27 22:35 |
Gallery URL = http://domandnat.com/main.php I'm using the full install of Gallery Remote b45, and seem to be experiencing an issue where portrait jpeg images are not rotated once uploaded. I have tried setting the auto rotate from EXIF setting as well as rotating manually in GR before uploading, and the result is always the same. Portrait images are uploaded as landscape. I'm pretty sure it is GR doing this too, as if I upload directly using the web interface in my Gallery 2 install then all photos are rotated as per the EXIF information. I never used to have this problem as the vast majority of the 4000 or so photos on my site have been uploaded using Gallery Remote. Does anyone have any idea what might be causing this, or how I might be able to troubleshoot further? I still have a 1000 or so photos to upload, and it is going to be a real pain if I have to upload and then manually rotate them afterwards. |
|
Posts: 60
I used the "Gallery Remote Debug.exe" to try and track this one down and noticed this in the debug window output;
This from a portrait picture;
542219|TRACE|ExifUtils |Picture C:\photos\COLOR094\DCIM\10171103\DSC01140.JPG EXIF ORIENTATION: 8
This from a landscape picture;
8364281|TRACE|ExifUtils |Picture C:\photos\COLOR094\DCIM\10171103\DSC01136.JPG EXIF ORIENTATION: 1
Does this mean anything? Is there anything else I should be looking for in the debug output?
Posts: 60
Found the problem. It ended up being the EXIF module which was set to detect and correct the orientation of uploads. Once I turned this off everything started working again.