[wp-trac] [WordPress Trac] #9737: Use a "thumbnail" rather than HTML width/height for "fullsize" images

WordPress Trac wp-trac at lists.automattic.com
Wed May 6 03:00:05 GMT 2009


#9737: Use a "thumbnail" rather than HTML width/height for "fullsize" images
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:             
     Type:  enhancement   |      Status:  new        
 Priority:  normal        |   Milestone:  Unassigned 
Component:  Media         |     Version:  2.7.1      
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 Related: #7119

 If you upload an image off your camera (a few megapixels, aka huge) and
 then insert the "Fullsize" image into your post, WordPress will indeed
 insert an image tag for the original image, but with HTML width/height's
 based on the theme's GLOBAL width value to ensure it's not wider than the
 theme.

 Since those width/height values are hard coded into the HTML and won't
 change if you change themes, why not just make a "thumbnail" with that
 width/height when the image is uploaded? That way viewers don't have to
 download the huge image and have it be resized by their browser (which
 looks bad).

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


More information about the wp-trac mailing list