[wp-trac] [WordPress Trac] #20893: Media library "icons" using full size images

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 9 14:51:12 UTC 2012


#20893: Media library "icons" using full size images
--------------------------+-----------------------------
 Reporter:  jfarthing84   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  3.3.2
 Severity:  critical      |   Keywords:  dev-feedback
--------------------------+-----------------------------
 I uploaded 3 images from a digital camera, which are 4000x3000 pixels.
 With all default settings, WordPress created the following variations of
 each:

 * 150x150
 * 300x225
 * 400x300
 * 1000x288
 * 1024x768

 Now, clearly, the 150x150 would be the best choice to display for the
 "icon" in the Media Library list table. However, it is using the full size
 image (4000x3000), scaled via CSS. Obviously, this is a major bandwidth
 killer.

 Furthermore, I did some manual testing of wp_get_attachment_image, and no
 matter what combination I put for the size parameter, it returned the full
 image.

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


More information about the wp-trac mailing list