How to Compress Images for Shopify
Optimize Shopify product photos, collection images, banners, and social previews before upload with private local compression.

Shopify stores live or die by product imagery, but bigger files do not automatically mean better shopping experiences. Oversized photos slow collection pages, delay product media, and make mobile shoppers wait.
Shopify image workflow
- Keep original product photos archived.
- Crop consistently before compression.
- Resize product images to 1600–2048px for most themes.
- Use JPEG/WebP for photos and PNG only when transparency is needed.
- Strip private metadata.
- Compress banners and collection images separately from product zoom images.
- Upload and test on a real product page.
The batch image compressor is useful for catalog refreshes because every product photo can inherit the same resize and quality settings.
Suggested settings
| Shopify asset | Format | Max size | Quality |
|---|---|---|---|
| Product photo | JPEG or WebP | 1600–2048px | 84–90 |
| Collection tile | WebP | 1000–1400px | 78–84 |
| Homepage banner | AVIF/WebP where supported | 1600–2200px | AVIF 55 / WebP 82 |
| Logo/transparent mark | PNG or SVG | Exact need | Lossless |
| Social share image | JPEG/WebP | 1200×630 | 82–88 |
Product zoom vs speed
If your theme offers zoom, do not crush product photos too far. Shoppers need fabric texture, color, and finish detail. Instead, keep product zoom images moderately larger and optimize repeated thumbnails more aggressively.
Think in Shopify surfaces
A Shopify image can appear in more places than the upload screen suggests: product gallery, collection grid, search results, homepage sections, recommendation blocks, cart drawers, and social previews. The same original may be transformed by the theme into many sizes. Your job before upload is to provide a clean, correctly cropped source that does not waste bytes.
Product gallery images deserve the most care. Collection thumbnails can be smaller and more aggressively compressed. Homepage banners need art direction because mobile crops often differ from desktop crops.
Recommended product photo workflow
- Retouch and color-correct from the original source.
- Crop every product in the same aspect ratio when the theme expects consistency.
- Export a web-ready master around 1600–2048px.
- Use JPEG or WebP depending on your theme/app workflow.
- Strip metadata, but keep color looking natural.
- Upload a small test set before processing the whole catalog.
The test set matters. Shopify themes can crop cards, zoom galleries, or use image focal points in ways that only show up in the actual storefront.
Banners and collection images
Hero banners are often the worst offenders because they come from large design exports. Keep desktop and mobile crops separate when the composition demands it. A wide banner that looks good on desktop can become meaningless on a phone if the product is pushed to one edge.
For banners, optimize two things: dimensions and focal area. Compression cannot fix a crop that hides the product or makes text unreadable.
Marketplace and app compatibility
Some Shopify apps, feeds, and marketplaces prefer JPEG even if your storefront can serve WebP. Keep a compatibility export when you feed product images into external systems. This is especially important for merchant feeds, email tools, print-on-demand integrations, and social commerce workflows.
Quality control checklist
- Product color still matches the real item.
- Texture remains visible at zoom level.
- Transparent products do not get jagged edges.
- White backgrounds remain clean without blocky artifacts.
- Collection cards crop consistently.
- Mobile banners preserve the subject.
- File names match product names or handles.
For hard byte budgets, read how to reduce image size under 100KB. For modern format decisions, read AVIF vs WebP in 2026.
Frequently asked questions
Related tools
Continue in this topic
Pillar guideHow to Compress Images Without Losing Quality
Compressing images without losing quality is really about removing bytes people cannot see . Camera originals include oversized dimensions, metadata, and more…
Ready to compress images without uploading them?
Open Asset Melt Studio