How to optimize product photos for Shopify and WooCommerce

📅 May 3, 2025 ⏱️ 6 min read 🏷️ E-commerce

Product photos are the number one factor in online purchase decisions. But unoptimized images can slow down your store to the point where customers leave before even seeing the product. This guide gives you the exact dimensions, ideal file sizes, and the workflow to optimize hundreds of images efficiently.

Table of contents

  1. Recommended dimensions for Shopify
  2. Recommended dimensions for WooCommerce
  3. Format and ideal file size
  4. Why white background is the standard
  5. Batch optimization workflow
  6. Impact on conversions and SEO

Recommended dimensions for Shopify

Shopify accepts images up to 20 MB and 4472 × 4472 px, but that doesn't mean you should use that size. Optimal dimensions for a Shopify store in 2025:

Image typeDimensionsFormatMax size
Main product image2048 × 2048 pxWebP / JPG500 KB
Additional product images2048 × 2048 pxWebP / JPG300 KB
Collection banner1800 × 600 pxWebP / JPG200 KB
Homepage hero image2000 × 800 pxWebP / JPG250 KB
Logo400 × 150 pxSVG / PNG50 KB

Important: Shopify automatically generates smaller versions (thumbnail, small, medium, large) of each image you upload. That's why it's crucial to start with a high-quality — but well-compressed — image.

Recommended dimensions for WooCommerce

WooCommerce has more configuration than Shopify, since sizes depend on your theme. But there are standards that work with most themes:

Image typeDimensionsFormatMax size
Main product image800 × 800 pxWebP / JPG200 KB
Product gallery800 × 800 pxWebP / JPG150 KB
Catalog thumbnail300 × 300 pxWebP / JPG40 KB
Category banner1200 × 400 pxWebP / JPG150 KB

Format and ideal file size

The recommended format for product photos in 2025 is WebP. Compared to JPG at the same visual quality, WebP produces files 25–40% smaller.

Optimize your product photos in batch

Upload multiple images at once and compress them all in seconds. No file limit.

⚡ Batch compress for free

Why white background is the standard

Amazon, major fashion retailers, and most marketplaces require a pure white background (RGB 255,255,255) for main product images. The practical reasons:

Batch optimization workflow

  1. Photography: shoot in RAW or high-quality JPG, no in-camera compression
  2. Editing: adjust exposure, white balance and background in Lightroom — export as JPG at 90%
  3. Resizing: scale all images to the target size (2048×2048 for Shopify)
  4. Batch compression: use ComprimirPro to compress all to WebP at 80–85% quality — process dozens of images at once
  5. Upload: upload the resulting WebP files directly to Shopify or WooCommerce

Real savings: if each product photo goes from 800 KB (unoptimized JPG) to 150 KB (optimized WebP), a store with 500 products saves over 300 MB. That directly translates to 3–5x faster load times.

Impact on conversions and SEO

The performance of an online store directly affects sales. Google and Deloitte studies show that:

Product photo checklist

Related articles

ComprimirPro Team

Image optimization and web performance specialists. We share practical guides to make the web faster.

Ready to optimize your store?

Compress all your product photos for free. No sign-up required.

⚡ Use ComprimirPro now