[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
Wed May 2 23:12:32 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 ebababi):

 Replying to [comment:20 nacin]:
 > In the future, please do not replace existing patches, only upload new
 ones.
 Sorry, still a noob here...

 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.

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


More information about the wp-trac mailing list