Responsive Images: srcset, sizes, picture, and Lazy Loading

Why should a phone download the same 1600-pixel hero image as a giant monitor? Our new tutorial covers srcset, sizes, picture, object-fit, aspect-ratio, and lazy loading so the browser can pick the right file:

Here’s the lab from the article. Change the width and pixel density to see which image file the browser picks: