[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
Sat Oct 29 00:02:07 UTC 2011


#15989: image_resize_dimensions() mistakenly defaults crop center as image's center
of gravity.
------------------------------------------------+--------------------------
 Reporter:  jacof                               |       Owner:  markjaquith
     Type:  defect (bug)                        |      Status:  assigned
 Priority:  normal                              |   Milestone:  Future
Component:  Post Thumbnails                     |  Release
 Severity:  major                               |     Version:  3.1
 Keywords:  has-patch dev-feedback 2nd-opinion  |  Resolution:
------------------------------------------------+--------------------------

Comment (by ebababi):

 Hi there, this is my first comment and patch!

 If it is for image_resize_dimensions to use a filter, why not having it
 affect the whole output, like on
 [http://core.trac.wordpress.org/browser/trunk/wp-includes/media.php#L142
 image_downsize]?

 Implementation on the patch above.

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


More information about the wp-trac mailing list