Why it matters
Not downloading off-screen images saves data and speeds up the first view. Do not lazy-load the main image at the top, because that delays LCP.
Example
<img src="photo.webp" loading="lazy" width="800" height="450" alt="">Where you will see it
The free Image alt text & size checker looks at this on a live page and explains what it finds in plain English: find images with missing alt text, heavy files, outdated formats or no width and height.
Related terms
- LCP: A Core Web Vitals metric for loading.
- Modern image formats: Image formats that usually give smaller files than JPEG or PNG at similar visual quality.
- Responsive images: The srcset and sizes attributes list several sizes of an image so the browser downloads one that fits the screen.
Go deeper
- Largest Contentful Paint: What Largest Contentful Paint measures, what counts as good, how to find your LCP element and the changes that make it faster.