Website Image Optimization Checklist: 10 Steps to Faster Pages
·
Images often make up more than half the weight of a page. If your site feels slow, they are the first place to look, and fixing them is usually quicker than any other speed improvement. This checklist walks you through ten steps, ranked so you can stop whenever the page is fast enough.
Why images slow pages down
Images are large, there are usually many of them, and the browser has to download them before the page looks finished. Heavy images hurt visitors on slow connections, push up bounce rates and weigh on page experience scores such as Largest Contentful Paint.
The good news is that images respond well to simple fixes. A few changes can cut a page's weight by half or more.
The fixes ranked by effort and impact
| Fix | Effort | Impact |
|---|---|---|
| Resize to the displayed size | Low | Very high |
| Compress at quality 75–85 | Low | High |
| Use a modern format (WebP or AVIF) | Low to medium | High |
| Serve different sizes to different screens | Medium | Medium to high |
| Add width and height | Low | Prevents layout shift |
| Lazy load below the fold | Low | Medium |
| Cache long and use a CDN | Medium | Medium |
Start at the top. The first three usually deliver most of the improvement for very little work.
Step by step: the 10-step checklist
- 1Resize each image to the largest size it is actually shown at. A 4000-pixel photo in an 800-pixel slot wastes more than 90 percent of its data. Resize Image does it, and the ideal sizes guide has targets.
- 2Choose the right format. WebP or AVIF for photos, SVG for logos, PNG for lossless graphics. See the format guide.
- 3Compress to a quality of about 75 to 85 and check at full zoom. Compress Image shows the saving first.
- 4Serve different sizes to different screens with
srcsetandsizes. The responsive images guide shows how. - 5Set
widthandheighton every image so the browser reserves space before the file arrives, which prevents the page from jumping. - 6Lazy load images below the first screen with
loading="lazy". The lazy loading guide covers when to use it. - 7Do not lazy load the main image. The largest image at the top is usually the Largest Contentful Paint element. Load it eagerly and consider
fetchpriority="high". - 8Cache images for a long time, such as a year, and give files a content hash in their name so you can safely replace them.
- 9Use a CDN, which places copies of your images near visitors and often converts formats automatically.
- 10Measure with PageSpeed Insights or Lighthouse before and after, and look at the Largest Contentful Paint time.
Pros and cons of the bigger changes
Switching to WebP or AVIF
- Pros: noticeably smaller files and faster pages.
- Cons: needs fallbacks and a little testing. See how to switch to WebP.
Using a CDN or image service
- Pros: automatic formats, sizes and fast delivery.
- Cons: costs money and adds a dependency.
Lazy loading
- Pros: less data upfront and a faster first view.
- Cons: harms the page if you apply it to the main image or forget dimensions.
How to measure the result
Run the same pages through PageSpeed Insights or Lighthouse before and after. Compare the total size of images and the Largest Contentful Paint time, and read the lists of oversized or unoptimised images, which tell you exactly which files to fix next. The Core Web Vitals report in Search Console shows what real visitors experience, but it takes weeks to update. For a deeper look at those numbers, read how images affect Core Web Vitals.
Common mistakes
- Optimising decorative images while ignoring the largest one at the top.
- Lazy loading everything, including the first image.
- Compressing the same file repeatedly instead of working from the original.
- Forgetting dimensions, which causes the page to jump.
- Testing once on a fast connection. Try a phone on a slower network as well.
Frequently asked questions
What is the fastest way to speed up a website's images?
Resize them to the size they are actually displayed at, then compress them. Those two steps usually deliver most of the improvement for very little work.
What image format is best for page speed?
WebP is a strong default for photos, with AVIF as an option and JPG as a fallback. Use SVG for logos and icons.
Should I lazy load every image?
No. Lazy load images below the first screen, but load the main image at the top normally, because it is usually the Largest Contentful Paint element.
How big should website images be?
As wide as they are displayed, up to about twice that for sharp screens. A hero image is often 1600 to 2000 pixels and under 200 to 300 KB, and a content image 800 to 1200 pixels.
How do I know if my image optimisation worked?
Run the same page through PageSpeed Insights before and after, and compare total image weight and the Largest Contentful Paint time.