[wp-trac] Re: [WordPress Trac] #6074: Intermediate image sizing, new thumbnails

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 3 21:48:44 GMT 2008


#6074: Intermediate image sizing, new thumbnails
-----------------------------+----------------------------------------------
 Reporter:  tellyworth       |        Owner:  anonymous
     Type:  defect           |       Status:  closed   
 Priority:  highest omg bbq  |    Milestone:  2.5      
Component:  General          |      Version:  2.5      
 Severity:  blocker          |   Resolution:  fixed    
 Keywords:  media has-patch  |  
-----------------------------+----------------------------------------------
Comment (by KirkM):

 Replying to [ticket:6074 tellyworth]:
 > This improves the new image sizing features and implements new
 thumbnails.
 >
 > Instead of a single thumbnail, images can now have multiple intermediate
 sizes.  By default there's a Thumbnail size and a Medium size.  These are
 generated at upload time and stored in the image metadata as a new array
 element 'sizes'.  There's a hook so plugins can include additional sizes.
 >
 > The new thumbnail size is 150x150, cropped to a square.  The new design
 calls for 75x75 square thumbs; I decided on 150x150 because it's closer to
 the old size or 128x96, but can be scaled in the browser to half size
 without ugly artefacts.
 >
 > get_attachment_thumb_url() and get_attachment_icon_src() will return the
 new thumbnail if it exists, and fall back to the old one if it does not.
 >
 >
 Just took a look at the latest (03/03/08) 2.5 build. This above fix
 wouldn't have affected the "Media Library" at all would it? I just
 happened to notice that now all the thumbnail images in the Image Library
 are now appearing at what looks like their original size (rather huge). In
 yesterdays build (03/02/08) the thumbnails in the "Media Library" were
 fine.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6074#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list