What AuditX checks
The scan runs Lighthouse on the page you scanned and merges two of its audits. One lists images that would be at least 8 KiB smaller in a modern format (the estimate is based on AVIF). The other lists JPEG and BMP images that would be at least 4 KiB smaller when recompressed at quality 85. When one file is in both lists, the larger saving is kept, and the 10 files with the biggest savings are carried forward. The scan then compares each file address with the images found by its own browser pass (the desktop view, or the phone view if desktop failed, up to the first 120 img elements). A file only counts when its address matches exactly and the image loaded. A file that cannot be matched is left out, because the two passes can see different images. The check passes when Lighthouse flags nothing. It warns when at least one matched image is flagged, and names up to 3 with their size and the estimated saving. It never fails. The result is an info note, which does not lower the score, when Lighthouse flagged images but the page images could not be measured, or when none could be matched. If both audits failed, the result is an info note marked as not measured. The savings are estimates and not guaranteed results. The check does not look at CSS background images, and it does not look at whether an image is shown larger than it needs to be. A warn costs points and an info note costs none.
Why it matters
web.dev reports that WebP images are usually 25 to 35 percent smaller than their JPEG and PNG equivalents, which reduces page size and improves performance.
The Lighthouse documentation explains that it recompresses each JPEG or BMP at quality 85, compares it with the original, and flags the image when the saving is 4 KiB or more. Smaller files load sooner, especially on a phone connection.
How to fix it
- Convert the images named in the report to WebP or AVIF. Most image editors, build tools and site builders have an export option for it.
- Re-compress photos at a reasonable quality (around 75 to 85 for JPEG and WebP) and re-upload them.
- Serve each image at the size it is shown, and use a picture element or srcset so older browsers still get a JPEG or PNG.
- On WordPress or a similar CMS, use an image plugin or your CDN image setting to convert and compress on upload.
<picture>
<source srcset="/img/team.avif" type="image/avif">
<source srcset="/img/team.webp" type="image/webp">
<img src="/img/team.jpg" width="800" height="533" alt="Our team">
</picture>
Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.
Scan my site