[wp-trac] [WordPress Trac] #18275: Can't get perfect thumbnail sizes with image editor

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 28 02:37:16 UTC 2011


#18275: Can't get perfect thumbnail sizes with image editor
--------------------------+-----------------------------
 Reporter:  smerriman     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  3.2.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 In the media settings, I have the thumbnail set to a fixed size (218x145),
 and set to crop to these exact dimensions.

 Sometimes the automatic thumbnail crops off people's heads, etc, so I use
 the Image Editor to manually adjust the thumbnail. I select a rectangle,
 set the aspect ratio to 218x145, click crop, apply to thumbnail only, and
 save.

 However, sometimes that results in an image slightly off in dimensions -
 for example, 215x145.

 I expect this is a rounding error. However, it happens even if I select an
 area much bigger than this when cropping in the Image Editor - eg 300x200.
 After I click crop and see the 300x200 image, I would expect the thumbnail
 to be automatically be created at 218x145 like it does normally based on
 this adjusted image - however, it appears the checkbox for using exact
 dimensions doesn't apply here. (In fact, if I select, say 300x300, it will
 make my thumbnail 145x145).

 This feels like a bug to me, and makes it very hard to generate thumbnails
 at the size I want.

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


More information about the wp-trac mailing list