Skip to main content

no ImageRotate() in php5-gd?

ZenPhoto is awesome! It really is. It's still a moving target and while the growing changlog is almost frightening, I hope it won't die on featuritis. That being said, I still miss one function, a very simple one I assumed: to rotate pictures. No, not auto_rotate by its EXIF data but via the Rotate... buttons in the image details. However, these buttons are grayed out, with no reason given. Well, there's #3010 to "Disable rotation radio buttons if 'auto_rotate' not set - but I don't remember to turn off auto_rotate. Looking again at the config, I noticed that the auto_rotate button is grayed out too - what's going on?

Turns out, ZenPhoto is missing the imagerotate() funcition in our GD build. Hm, gd is provided by php5-gd and there we go:
> gd seems to build with an external gd library,
> php5 has it's own gd library shipped with it.
> One functions that isn't available when gd is build with an external lib
> is ImageRotate();
Well, the report is from 2005, now it's 2009 and this one has been tagged as wontfix, for debatable reasons. Sure, there are workarounds available, but I wonder how the others are dealing with this particular issue...