Images in JPEG/PNG format - WebP or AVIF recommended
Your site's images use JPEG or PNG formats. WebP and AVIF formats offer much better compression for equivalent quality.
Why it matters
Lighter images directly reduce LCP and data consumption for your visitors. An average gain of 30-40% on the total page weight.
How to fix
- 1
Automatic conversion via plugin (recommended)
ShortPixel, Imagify or WebP Express automatically convert your images to WebP on upload and serve the correct format based on the browser.
- 2
Manual conversion via CLI
bash# Install cwebp (Google utility) sudo apt install webp # Convert an image cwebp -q 80 image.jpg -o image.webp # Batch convert for f in *.jpg; do cwebp -q 80 "$f" -o "${f%.jpg}.webp"; done - 3
Serve WebP with JPEG fallback via <picture>
html<picture> <source srcset="image.avif" type="image/avif"> <source srcset="image.webp" type="image/webp"> <img src="image.jpg" alt="..." width="800" height="600"> </picture> - 4
Serve WebP via .htaccess (without modifying HTML)
apache<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_ACCEPT} image/webp RewriteCond %{REQUEST_FILENAME} .(jpe?g|png)$ RewriteCond %{REQUEST_FILENAME}.webp -f RewriteRule ^ %{REQUEST_FILENAME}.webp [T=image/webp,L] </IfModule>
Ready to fix this issue on your site?
Audit my site for free →