[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
Mon Dec 27 17:27:15 UTC 2010


#15989: image_resize_dimensions() mistakenly defaults crop center as image's center
of gravity.
-------------------------------------------------+-------------------------
 Reporter:  jacof                                |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Post Thumbnails                      |  Review
 Severity:  major                                |     Version:  3.1
 Keywords:  Thumbnails, Resizing, Rescaling,     |  Resolution:
  Cropping                                       |
-------------------------------------------------+-------------------------

Comment (by jacof):

 It would.
 Wordpress should at least allow people to hook into this function. The
 current coding does not allow any correction from the users.

 A 3rd way to solve this has come to my mind:

 3- Correct Multimedia Editor so a user can choose where to place his
 thumbnails, internally resize the image accordingly, and regenerating the
 thumbnail. This method involves no need for changing the
 image_resize_dimensions() function, and it would be possible to do with a
 plugin.

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


More information about the wp-trac mailing list