News for hackers. Stuff that matters.
Re:Goodbye to Painful Image Loads on Small Devices by smileyj68 on Friday May 31, 2013 @11:13AM (#5799070)
Checking network speed is actually a great idea - we'll investigate this. The reason we use the img src (which as you noted means you might load two images) is twofold: so that if your image is the same aspect ratio, you'll get an immediate load of something before the better image comes in (without which you'll have a really nasty reflow). This also guarantees you'll get something that works if JS is disabled or unavailable.

Please submit pull requests or issues for ways we can make this better, we're all ears.

There are no comments on this comment yet.