Gallery2 Auto Rotate

For the longest time, I’ve been rotating images on Gallery2 manually (usually using IrfanView beforehand) and then uploading them to my ftp server. Of course I only rotated copies and left the originals intact. Anyway, I got sick of it for some reason today and remember this USED to work where Gallery2 would auto rotate based on the EXIF data.

I tried searching the admin panel, but didn’t really have much luck.

I tried to see if there was a rotation plugin and there was none.

I checked out Jpegtran since it’s the tool used for image transformations (specifically rotation), and there didn’t appear to any problems.

Searching for auto rotate or auto rotation on search engines didn’t really result in anything too useful besides the fact that starting with Gallery 2.2, auto rotate was an added feature.

Finally I found a thread that told me how to enable this. Apparently the place to do this is:
Site Administration > EXIF/IPTC > Rotate Pictures Automatically

Woot! Auto-rotate works! I’m thinking about enabling “Preserve Original on Rotating”, but not sure if I want to do that or not, since I assume when people click on “Download photo”, they’ll might see the photo in the wrong orientation.

10 thoughts on “Gallery2 Auto Rotate

  1. Just what i was looking for…

    What EXIF data tells Gallery (jpegtran..) to actually rotate the image 90^ ?

    How does the camera know what orientation is correct.. ?

    I mean, that really depends on the motiv and what you actually want..

  2. I have a Sanyo HD700 — and a Nikon D70 — i took the exact same pictures with both — alle the “wrong” orientation images from the D70 got transformet when imported to gallery — None of the Sany HD700 images were rotated..

    Strange.. ? Or not ?

  3. RE: Jonalise

    Your digital camera actually has an orientation sensor, which tells it how the camera was being held when the picture was taken. If you have a tool to look at exif properties, the property you’re looking for is called Orientation.

    You can read more about this on Photosleeve.

    Not all cameras have the orientation sensor, especially older ones. You can use any tool or software that allows you to look at exif properties to see if the Orientation property exists in your Sanyo HD700 photos. If they do, it could mean the orientation sensor is defective. If it doesn’t, it might mean it doesn’t come with an orientation sensor or that there might be a way to enable it for your camera. Also as the article above states, sometimes when you’re taking pictures at an extreme up or down angles, the orientation is hard to tell.

  4. Thanks a lot.. that was a really good explanation.

    So i went into Gallery2 EXIF settings, and it can display Orientation .. πŸ™‚ I also used another EXIF viewer, the Sanyo HD700 orientation is NORMAL – HORIZONTAL on every image, no matter what angle the camera is held at – so – i guess this hi-tech AVCHD/720p 7mpixel SDHC 5x zoom camera does not have the one feature that would save me some time when working with the images…

    πŸ™‚ Gotta smile, there is no perfect camera.. or gadget.

Leave a Reply