From HTML responsive images, to lazy loading, to layout shifts, to image CDNs... this guide covers it all.