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

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 29 05:05:07 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        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by smerriman):

 Update: this appears to be caused by line 615 of wp-admin/includes/image-
 edit.php:

 {{{
         } elseif ( 'thumbnail' == $target ) {
                 $sizes = array( 'thumbnail' );
                 $success = $delete = $nocrop = true;
         }
 }}}

 I don't know why $nocrop is set to true, but I can't see any reason for
 doing so, and removing it fixes the problem.

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


More information about the wp-trac mailing list