Not working or not what I was expecting?
I just upgraded to 1.2.2 [2983] and noticed the option for Auto Rotate Images was there (hurrah!). Of course, since I'm running on Ubuntu 8.04 I had an issue with the included GD support lacking the imagerotate function.
I downloaded php and built it with GD as a shared module based on info here
http://info.momeunier.fr/node/20. Using my newly built gd.so, phpinfo reports essentially the same info about GD, and now my installation includes the imagerotate function.
After restarting Apache, I can now check Auto rotate images (yes, clicked save) but it doesn't seem to do anything. I cleared the album cache and refreshed the metadata, but no joy. Viewing the EXIF info Orientation is included in my photos.... Any ideas what I'm missing?
I'm using the StopDesign theme if that might make a difference.
I'm neither a programmer nor a php guy, so I've not yet looked to see what other image* functions may be required but missing from my library....
Any tips, pointers, or straight up solutions appreciated :-)
Comments
My primary camera (Canon A610) seems to include the correct orientation info when viewing the EXIF data. Several other programs correctly rotate the images as well.
Auto rotate images: is ticked.
A image contains the relevant EXIF information:
Orientation: 6: 90 deg CCW
However, Zenphoto doesnt rotate the image?
Here are the results:
Thumbnail: http://empire.ispeeds.net/~subx/Picture 1.png
Image: http://empire.ispeeds.net/~subx/Picture 2.png
EXIF Information: http://empire.ispeeds.net/~subx/Picture 3.png
Rotate Image Ticked: http://empire.ispeeds.net/~subx/Picture 4.png
Original Image from Camera: http://empire.ispeeds.net/~subx/IMG_0923.JPG
You can set the `DEBUG_IMAGE` define in functions-basic to `true` and get some debug output of the image processing. Please use the nightly build if you do this since the amount of information has been increased. This will create a file in zp-core named debug_log.txt. Be sure that there is no such file to start, then delete any cache file for the image and view the image.
I cannot see any option to manually rotate the image, heres a screenshot:
http://empire.ispeeds.net/~subx/Picture 5.png
Autorotate now looks like it's starting to work, the thumbnails look perfect, they have rotated properly, however, the main image has rotated, but the frame didnt, the image looks distorted, see here: http://empire.ispeeds.net/~subx/Picture 6.png