Check whether images on any webpage are properly sized for their display containers. Spot oversized images wasting bandwidth and undersized images appearing blurry.
Responsive web design means images should match their display context. Serving a desktop-sized hero image to a mobile phone wastes data and slows load times. Conversely, a small image stretched beyond its natural size looks blurry and unprofessional.
| Scenario | Impact | Fix |
|---|---|---|
| Natural 2x larger than rendered | Acceptable for retina displays | Use srcset for density switching |
| Natural 3x+ larger than rendered | Wasting significant bandwidth | Resize to 2x rendered max |
| Natural smaller than rendered | Blurry, pixelated display | Use a higher resolution source |
| Natural matches rendered | Optimal | Consider 2x for retina |
The HTML srcset attribute lets browsers choose the right image size automatically. After scanning your page, look for images where natural dimensions are 3x+ the rendered size — those are candidates for srcset optimization.
<img
src="photo-800w.jpg"
srcset="photo-400w.jpg 400w,
photo-800w.jpg 800w,
photo-1600w.jpg 1600w"
sizes="(max-width: 600px) 400px, 800px"
alt="Responsive image example"
/>