[wp-trac] [WordPress Trac] #11536: Rotate image buttons don't show up on PHP installs without imagerotate()

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 20 18:42:24 UTC 2009


#11536: Rotate image buttons don't show up on PHP installs without imagerotate()
--------------------------+-------------------------------------------------
 Reporter:  husky         |       Owner:                               
     Type:  defect (bug)  |      Status:  new                          
 Priority:  normal        |   Milestone:  2.9.1                        
Component:  Editor        |     Version:  2.9                          
 Severity:  normal        |    Keywords:  rotate imagerotate image-edit
--------------------------+-------------------------------------------------
 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

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11536>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list