Intent to Ship: Auto Sizes for Lazy Loaded Images with Srcset
Remember when I wrote about sizes="auto"
? Well, it’s coming to Chrome! Hallelujah!
Jeremy Wagner offers a deep dive into lazy loading images (and video) with some advice for considering the no-JavaScript situation too.
Remember when I wrote about sizes="auto"
? Well, it’s coming to Chrome! Hallelujah!
Container queries can’t be used in the sizes
attribute for responsive images. Here, Jason breaks down why that is (spoiler: it’s the lookahead pre-parser) and segues into a truly long term solution: a “magical” image format.
If you’ve ever thought it felt weird to put media conditions inside the HTML for responsive images, this will resonate.
Mat has written this free course for you all about images on the web. Covering image formats, responsive images, and workflows, this is one to keep on speed dial.
Did you know there’s an imagesrcset
attribute you can put on link rel="preload" as="image"
(along with an imagesizes
attribute)?
I didn’t. (Until Amber pointed this out.)
There’s a new image format on the browser block and it’s very performant indeed. Jake has all the details you didn’t ask for.
A lazy option for responsive images is at hand.
Adding `alt` text to uploaded images.
It’s not just about finding the issues—it’s about finding the issues at the right time.
Making marginal gains in front-end performance.
How I switched to high-resolution maps on The Session without degrading performance.