[wp-trac] [WordPress Trac] #13947: Featured image doesn't crop

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 2 12:40:44 UTC 2010


#13947: Featured image doesn't crop
-------------------------------+--------------------------------------------
 Reporter:  bi0xid             |        Owner:  nacin   
     Type:  defect (bug)       |       Status:  reopened
 Priority:  high               |    Milestone:  3.1     
Component:  Media              |      Version:  3.0     
 Severity:  major              |   Resolution:          
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------
Changes (by JohnONolan):

  * status:  closed => reopened
  * resolution:  invalid =>


Comment:

 @markjaquith - Simplest explanation I can give is to echo the_thumbnail()
 in a theme file and define $crop as "true" in functions.php - the output
 will always be as if $crop is set to false.

 To clarify:

 $crop = true: fit the shortest length into specified dimensions, crop the
 rest. Exact thumbnail dimensions are filled.
 $crop = false: fit the longest length into the specified dimensions.
 Original aspect ratio is preserved, no exact thumbnail dimensions.

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


More information about the wp-trac mailing list