Rotate image buttons don't show up on PHP installs without imagerotate()
|Reported by:||husky||Owned by:|
The two new 'rotate image' buttons in 2.9 depend on the imagerotate() function from the PHP GD library to work.
Unfortunately, that function is only available with a pre-compiled version of the GD library, which my host (and i suspect many others) don't have because it's apparently not a popular way to use the GD library. For example, the 'php5-gd' package on Ubuntu 8.06 doesn't have it.
End users expect this behaviour to work (it is shown as a major new feature of 2.9) so we should at least have a message that their host doesn't support the rotate buttons.
A better solution would be to offer an alternative imagerotate() function to use (might be slow though). Many examples can be found at php.net: http://nl3.php.net/manual/en/function.imagerotate.php