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.
March 12th, 2008
Thanks Man! This helped me a lot!
March 14th, 2008
Thanks! Wish I’d discovered this before uploading a whole load of images
Next step, AJAX enabled tagging…
May 4th, 2008
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..
May 4th, 2008
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 ?
May 4th, 2008
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.
May 4th, 2008
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…
October 27th, 2008
[...] the pictures were automatically rotated. After a very brief search on google I found a post describing how to enable auto-rotation. All you have to do is go to Site Administration -> EXIF/IPTC -> and check “Rotate Pictures [...]
April 2nd, 2009
Saved me a lot of work! Thanks
November 8th, 2009
[...] Takk til Keunk4Ever.com [...]
January 22nd, 2010
That’s really useful dude! I have been spending hours doing it manually. *grumble* (google helped me find this)