Shopify Product Images: Sizes, Compression, and Core Web Vitals
Product photos are the rare case where big images and fast pages genuinely conflict: shoppers zoom, and zooming needs pixels. The resolution is to serve enough pixels at the smallest possible byte count.
What to Upload
- 2048 px on the long edge is the practical answer for most stores. That is enough for the built-in zoom, and Shopify generates the responsive sizes itself.
- Square 1:1 for the primary image keeps the grid consistent across collection pages.
- Consistent background and framing matters more than any single pixel count.
Shopify caps uploads by pixel count and file size, so a 6000 px straight-out-of-camera file is both unnecessary and a rejection risk.
Why Shopify Already Compresses for You
The platform re-encodes uploads and serves modern formats automatically, including AVIF and WebP where the browser supports them. You still control the input, and that is what matters: a clean 2048 px source produces a good derivative tree; a soft, over-sharpened, already-crushed source produces a bad one.
Step 1: Normalise the Inputs
Batch-resize the catalogue to 2048 px with Bulk Image Compressor. Same edge, same colour profile, no huge camera RAW exports.
Step 2: Strip Weight Without Stripping Detail
For images you use outside the product body — collection banners, theme blocks, hero slides — the platform may not re-encode them, and those are the files that sink Largest Contentful Paint. Compress those separately at quality 75-80 and target under 200KB each. See our automation angle on upload-time compression, which applies identically here.
Step 3: Watch the Two Numbers That Matter
| Metric | Healthy | Warning |
| LCP image bytes | Under 250 KB | Over 500 KB |
| Hero image height | Under 1.8s | Over 2.5s |
| Product images per page | Lazy-loaded below the fold | All eager |
Colour and Format Details
Screenshots of size charts and specification tables are not photographs: keep them as PNG or WebP so text edges stay sharp. For lifestyle photography, WebP Compressor at 80% typically beats an equivalent-looking JPEG by 25-35% in bytes.
Conclusion
Upload 2048 px square masters, let Shopify build the derivative tree, and hand-compress anything the theme renders directly. Text-heavy charts stay PNG; photos go WebP.