[wp-trac] [WordPress Trac] #21019: Retina All the Things

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 21 15:35:33 UTC 2012


#21019: Retina All the Things
----------------------------+--------------------
 Reporter:  matt            |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  3.4.1
Component:  Administration  |     Version:  3.4
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------

Comment (by nacin):

 Replying to [comment:21 azaozz]:
 > This may work well for the screenshots on the About screen, but not for
 most of the other places. The problem is that most images are loaded as
 css backgrounds (all the sprites), so there aren't <img /> tags for them.

 Backgrounds = media queries. It's the <img> tags that are difficult and
 require this extra work.

 >
 > Another (big?) drawback of using JS is that replacing the images at DOM
 ready leaves the screen "imageless" for couple of seconds. What happens is
 the low-rez images start to load together with the html, at DOM ready all
 half-loaded low-rez images are replaced with the high-rez. That makes the
 browser send another set of requests for them before the requests for the
 low-rez images have completed. So now we have double the number of image
 requests.

 In [comment:6 comment 6], I specifically discuss double requests as a
 benefit, if done properly.

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


More information about the wp-trac mailing list