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

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 24 12:09:56 UTC 2010


#13947: Featured image doesn't crop
-------------------------------+--------------------------------------------
 Reporter:  bi0xid             |        Owner:         
     Type:  defect (bug)       |       Status:  closed 
 Priority:  normal             |    Milestone:  3.0.1  
Component:  Media              |      Version:  3.0    
 Severity:  normal             |   Resolution:  invalid
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------
Changes (by bi0xid):

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


Comment:

 Updating problems.

 It works the same way in Media Library and Post -> Add new image ->
 Gallery

  * If the image is assigned as featured image, you can only crop. It
 assumes all sizes.
  * If the image is not assigned, you can crop it and assign the crop to
 All sizes, thumbnail or All except thumbnail.

 I suppose it's the correct way to work with thumbnails to don't have
 assignment problems.

 Also replying to [comment:6 toscho]:

 You can set the thumbnail size in Settings -> Media and it works.
 And then, to get the thumbnail or a custom thumbnail:


 {{{
 the_post_thumbnail();                  // without parameter -> Thumbnail
 the_post_thumbnail('thumbnail');       // Thumbnail
 the_post_thumbnail('medium');          // Medium resolution
 the_post_thumbnail('large');           // Large resolution
 the_post_thumbnail( array(100,100) );  // Other resolutions
 }}}

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


More information about the wp-trac mailing list