Faster WooCommerce shops with lighter product photos
Shop benefits
- Smaller gallery loads
- Better mobile experience
- Less hosting bandwidth
Why product photos are the biggest snowball in an online store
Step-by-step plan: optimize your product catalog
Inventory your largest categories
Choose a compression profile that suits product photography
Process gallery and variation images in bulk
Visually check a sample of product pages
Measure load time before and after
Comparing formats for product photos
| Format | Typical savings compared to original | Suitable for |
|---|---|---|
| AVIF | Usually the biggest savings; in our tests up to 94% smaller than the original. | Main images and zoom photos with lots of detail, on browsers that support it. |
| WebP | Generous savings with broad support; usually 25 to 50 percent smaller than a comparable JPEG. | Gallery and variation thumbnails as a broad fallback. |
| JPEG (optimized) | Smaller gains than AVIF or WebP, but displayed everywhere. | Product feeds and channels that only accept JPEG. |
| PNG | Limited savings; only worthwhile when compressing properly. | Product images with transparency, such as cut-out product photos. |
Common mistakes with shop images
- Compressing zoom images too aggressively, causing details to be lost when zooming in.
- Only optimizing the main image and skipping variation thumbnails.
- Not adding or checking alt text after optimization, even though it's important for product discoverability.
- Leaving duplicate product galleries in place because both the theme and a plugin load images.
- Not clearing the cache after a bulk run, so visitors still see the old, larger files.
Frequently asked questions
Yes. Variation thumbnails are processed along with everything else, so you don't need to handle them separately.
It depends on the compression profile you choose. Test the profile on a few representative product photos before processing your entire catalog, especially for photos with lots of fine detail.
Spark optimizes the underlying file, regardless of which gallery component your theme uses. It's best to test major theme or plugin changes on staging first.
Yes, as long as the images end up in your media library, they can be included in the processing.
The files in your media library change, so after making major changes, check that your feed is still delivering the correct, up-to-date images.
No. Optimization works on the underlying media file, which is usually shared across all language and currency variants.