On this page
What this issue is
Image format is how a picture is stored and sent to the browser. JPEG and PNG are old formats. WebP and AVIF are newer ones that compress better, so the same picture needs fewer bytes. Tools like Lighthouse call this issue "Serve images in next-gen formats".
| Format | Best for | Notes |
|---|---|---|
| JPEG | Photos | Universal, but larger files |
| PNG | Logos, screenshots, transparency | Often very large for photos |
| WebP | Photos and graphics | Smaller than JPEG and PNG, wide support |
| AVIF | Photos, hero images | Often smallest, slower to encode |
Why it costs you leads or sales
Heavier images take longer to download. On a slow mobile connection that can delay the largest visible element (the Largest Contentful Paint, or LCP), which is one of Google's Core Web Vitals. Slow pages can lose visitors before a form or product is even seen, and speed is one of many signals in search.
Example: illustrative sizes for one photo. Real savings depend on the image and the quality setting.
How to check if your site has it
Open DevTools
In Chrome, right-click the page, choose Inspect, then open the Network tab.
Filter by images
Click the Img filter and reload the page.
Read the Type column
Look for jpeg, png or gif on large files. Modern formats show as webp or avif. Sort by Size to see the heaviest first.
Run Lighthouse or PageSpeed Insights
Test your key landing pages. Look for the image delivery or next-gen formats findings and the estimated savings.
How to fix it
Check core behaviour
Recent WordPress versions support uploading WebP and AVIF files directly in the Media Library, depending on your server's image library.
Use an image optimisation plugin
Install a plugin that converts existing uploads and serves WebP or AVIF with a fallback. Pick one that fits your host and test it on a staging copy first.
Regenerate old images
Run the plugin's bulk convert option so older uploads are converted too.
Use Shopify's image CDN
Shopify's CDN generally serves WebP automatically to browsers that support it, so upload good-quality originals.
Use the image_url filter in your theme
In Liquid, output images with image_url and image_tag so the right size and format are served. Check older themes that hard-code image URLs.
Upload and let Webflow convert
Webflow can convert uploaded images to WebP. Check the asset settings or the conversion option in the Assets panel.
Check custom embeds
Images added inside embed code or hosted elsewhere are not converted. Replace them with native image elements.
Rely on built-in delivery
Wix serves images from its own media system and usually delivers modern formats automatically. Upload sensible sizes rather than huge originals.
Upload standard images
Squarespace processes uploaded images and serves optimised versions. Check the Network tab to see what your template actually sends.
Avoid code-injected images
Images added through code blocks bypass this processing, so use image blocks where you can.
Convert files at build time
Use a tool such as cwebp, avifenc or an image library like sharp to create WebP and AVIF copies.
Serve with a picture element
Offer AVIF first, then WebP, then the JPEG fallback, as in the snippet below.
Or use an image CDN
Many image CDNs pick the best format from the browser's Accept header automatically.
<picture>
<source srcset="hero.avif" type="image/avif">
<source srcset="hero.webp" type="image/webp">
<img src="hero.jpg" alt="Describe the image" width="1200" height="600">
</picture>cwebp -q 80 hero.jpg -o hero.webp
avifenc --min 20 --max 40 hero.jpg hero.avifBefore
- Large PNG or JPEG sent to every visitor
- Network tab shows png or jpeg
- Lighthouse flags next-gen formats
After
- AVIF or WebP sent to supporting browsers
- JPEG kept as a fallback
- Smaller transfer size on the same page
How to confirm it's fixed
- Network tab Type column shows webp or avif for your large images
- Total image transfer size on the page has dropped
- Lighthouse no longer lists next-gen formats for key pages
- Images look sharp on desktop and mobile
- A fallback still loads when you test an older browser or disable modern formats
- Hero and product images still have alt text, width and height
How to prevent it happening again
New uploads are the usual cause of a relapse. Someone adds a 3 MB PNG to a landing page and nobody notices.
- Turn on automatic conversion in your plugin, theme or CDN
- Give editors a rule: upload JPEG or PNG at the size needed, never full camera size
- Re-run PageSpeed Insights on key pages after each redesign or theme change
- Check the Network tab after switching plugins, themes or CDNs
- Add an image check to your launch checklist for new landing pages
How FunnelGuard handles this
FunnelGuard does not check image formats yet. It is a possible future check, but today it will not tell you that your images are JPEG instead of WebP or AVIF.
What FunnelGuard does do is run your real customer journeys, such as lead forms, checkouts and booking buttons, on a schedule, and check each step, your tracking hits and whether test leads arrive. If an image change breaks a page, for example a converted image stops loading and a button gets pushed out of view, a journey step can fail and you get an alert with a screenshot. That catches broken outcomes, not the file format itself.
To watch for the format issue, run PageSpeed Insights or Lighthouse on your key pages each month, or after any theme or plugin change, and look at the Type column in the DevTools Network tab. FunnelGuard also offers a free read-only website audit if you want a wider look at your site.
Questions people ask
Should I use WebP or AVIF?
WebP is the safe default because it is widely supported and fast to create. AVIF is often smaller but slower to encode, so many sites serve AVIF first and WebP as a fallback. Keep a JPEG fallback if you must support older browsers.
Do WebP and AVIF images improve SEO rankings?
Not directly. Smaller images can improve page speed and Core Web Vitals, and speed is one of many signals Google uses. Expect a modest benefit, mainly on image-heavy pages and mobile connections.
Why does Lighthouse say 'Serve images in next-gen formats'?
It found JPEG or PNG files on your page that would be smaller as WebP or AVIF. The report lists the files and the estimated savings. Convert the biggest ones first.
How do I convert JPEG to WebP in bulk?
On WordPress, use an image optimisation plugin with a bulk convert option. On custom sites, use cwebp or a library such as sharp in a build script. Always check the results visually before publishing.
Does Shopify serve WebP automatically?
Shopify's image CDN generally serves WebP to browsers that support it. Use the image_url filter in your theme so it can pick the right size and format. Hard-coded image URLs in older themes may bypass this.
Will WebP images break in older browsers?
They can in very old browsers. Use a picture element or a CDN that checks the Accept header, and keep a JPEG or PNG fallback so nobody sees a broken image.
How can I tell which format an image is?
Open DevTools, go to the Network tab, filter by Img and reload. The Type column shows jpeg, png, webp or avif for each file. You can also right-click an image and check the file extension after saving it.
Does FunnelGuard check image formats?
No. FunnelGuard does not check image formats yet. It runs your customer journeys and flags failed steps, so it can show if a broken image stops a form or button working, but use PageSpeed Insights for the format itself.