me, myself & andrei

23 Aug 2008
ZenPhoto EXIF Rotation

I’m using ZenPhoto as a Media Gallery web interface, but it wasn’t able to do automatic rotation by reading the EXIF information. I expected that to be public with version 1.2, but no.

After a bit of searching and thinking and improving, I’ve ended up updating some core files, and it’s now supposed to work flawlessly in this regard. The only thing is that the EXIF information gets read each time from the file, instead of reading it from the database (need to work on that). The changes also support image fliping.

You can download the patch and just extract that and overwrite the old ZenPhoto files.

PS: All modifications are between “EXIF Rotation” comments