[wp-trac] [WordPress Trac] #15989: image_resize_dimensions() mistakenly defaults crop center as image's center of gravity.

WordPress Trac wp-trac at lists.automattic.com
Thu May 3 00:29:05 UTC 2012


#15989: image_resize_dimensions() mistakenly defaults crop center as image's center
of gravity.
------------------------------+---------------------
 Reporter:  jacof             |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.4
Component:  Post Thumbnails   |     Version:  3.1
 Severity:  major             |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------

Comment (by nacin):

 Replying to [comment:22 ebababi]:
 > Since this patch is now official I wrote the
 [http://codex.wordpress.org/Plugin_API/Filter_Reference/image_resize_dimensions
 relevant documentation], including an example moving the cropping center
 to the top of the image.

 Great. It might be good to have the page reflect that it requires
 WordPress 3.4, though. Not sure the best way to do that on the Codex.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15989#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list