Compressing Product Images Without Losing Quality

Short answer: resize product images to the largest size they will actually be shown at, export as JPEG at roughly 75 to 85 quality in sRGB (or WebP where your platform accepts it), strip unnecessary metadata, and check the result at 100% zoom on fine detail and gradients. Most of the file size saving comes from correct pixel dimensions and sensible quality settings, not from aggressive compression that creates blocky edges and banding.

Big product images slow pages down, and slow pages lose shoppers, especially on mobile data. Over-compressed images look cheap, show blocky artefacts in gradients and make zoom pointless. The goal is the smallest file that still looks identical to the original at the size shoppers see it. This guide explains how. Our product photo editing services can export every image to the size and compression your store needs.
Why product images get too heavy
Product photo files grow large for predictable reasons:
- Uploading camera originals. A 45-megapixel camera file is far bigger than any product page needs.
- Exporting at maximum quality. JPEG quality 100 produces much larger files than 85 for almost no visible gain.
- PNG for photos. PNG is lossless and great for graphics or transparency, but a photo saved as PNG is often several times the size of a good JPEG.
- Embedded metadata and colour profiles. Camera data, editing history and large profiles add weight.
- Transparent PNGs used where white is fine. Transparency is only needed for certain layouts.
- Noise and grain. Noisy images compress poorly; clean backgrounds compress well.
Formats compared
| Format | Compression | Transparency | Best for | Notes |
|---|---|---|---|---|
| JPEG | Lossy | No | Most product photos | Universal support; quality 75–85 usually ideal |
| PNG | Lossless | Yes | Cut-outs, graphics, line art | Large for photos |
| WebP | Lossy or lossless | Yes | Web delivery | Smaller than JPEG at similar quality; check platform support |
| AVIF | Lossy or lossless | Yes | Web delivery | Often smaller again; slower to encode |
| TIFF | Lossless | Yes | Archive and print masters | Never upload to a store |
Our product photo file formats guide covers each format in more depth, including when transparency is worth the extra size.
What your platform already does
Before you compress heavily, check what your platform does with uploads.
- Shopify creates resized versions of every upload for different screen sizes and automatically serves modern formats such as WebP and AVIF to browsers that support them. Your job is to upload a good, correctly sized master, not to pre-compress it to the bone.
- WooCommerce generates thumbnail sizes based on your settings and theme; compression depends on your server and any image plugins. See our WooCommerce image settings guide.
- Marketplaces such as Amazon, eBay and Walmart process uploads themselves and display their own versions. Upload high-quality files that meet their size rules; heavy compression before upload only removes detail you cannot get back.
Step by step: compressing product images
- Keep a master. Save the full-resolution edited file in a lossless format. Never overwrite it with a compressed version.
- Decide the display size. Find the largest size the image is shown at, including zoom. For many stores, 2,000 to 2,048 px on the longest side covers zoom on retina screens. See Shopify product image size.
- Resize first. Downscale to that size before compressing. This alone often cuts file size dramatically.
- Convert to sRGB. Other profiles can display incorrectly and add weight.
- Choose the format. JPEG for photos on white, PNG or WebP only where you need transparency.
- Set quality. Start around 80 for JPEG. Compare 70, 80 and 90 on a typical image and pick the lowest that looks identical at 100%.
- Strip metadata you do not need, such as camera data and editing history. Keep copyright information if you want it.
- Sharpen lightly for screen after resizing, before export.
- Batch the same settings across the whole catalogue for consistency.
- Check results on fine detail, edges and gradients.
How to check quality
Look at these areas at 100% zoom, comparing the compressed file with the master:
| Area | What to look for | Common artefact |
|---|---|---|
| Smooth gradients | Shadows, glossy surfaces, skies in lifestyle shots | Banding into visible steps |
| Fine texture | Fabric weave, knit, wood grain | Smearing or loss of detail |
| Sharp edges | Product outline against white | Halo or “mosquito” noise |
| Text and labels | Ingredients, part numbers, logos | Blurred or blocky letters |
| Pure white background | Background outside the product | Off-white blotches |
| Colour | Saturated reds and blues | Colour shifting or blockiness |
Pure white backgrounds deserve special attention because some marketplaces check them, and compression can introduce faint off-white blocks. Our guide to pure white background product photos explains how to check RGB values.
Worked example: a homeware store with slow product pages
Imagine a homeware store on its own site with 1,200 products, each with six images uploaded straight from the photographer at around 6,000 px wide and saved at maximum JPEG quality. Product pages feel slow on mobile, and its page speed tools flag image size as the main problem.
The fix starts with deciding the display size: the theme’s zoom shows images up to 2,000 px. The store’s editor batch-resizes every image to 2,000 px on the longest side, converts to sRGB, exports JPEG at quality 80 and strips metadata. The team checks ten sample products at 100% zoom, focusing on the glazed ceramics where gradients band easily, and raises quality slightly for that category only. The masters stay archived. The visible quality is unchanged, but each file is a fraction of its previous size, and future uploads follow the same export preset.
Common mistakes
- Compressing without resizing. A huge image at low quality still weighs more than a correctly sized image at good quality, and looks worse.
- Overwriting masters. Repeated JPEG saves degrade quality each time.
- One setting for everything. Glossy products and gradients may need slightly higher quality than matte items.
- Using PNG for every image. Large files with no benefit on white backgrounds.
- Upscaling small images. Compression cannot add detail that was never there.
- Forgetting mobile. Check pages on a phone with a mobile connection, not only on office broadband.
- Ignoring lazy loading. Images below the fold should load later; most modern themes handle this, but check.
Tools
- Photoshop or Lightroom export with fixed presets for size, quality and sRGB.
- Batch tools such as Photoshop actions or image processors for large catalogues.
- Online and desktop compressors for quick checks; compare results with your own export before relying on them.
- Your platform’s image settings and any image optimisation plugins on WordPress.
- Page speed tools such as Google’s PageSpeed Insights to see whether images are still the bottleneck.
Image file names and alt text matter alongside file size; see product image SEO. Compression also matters for 360 spins, where dozens of frames load together, covered in our post on 360 spin file size and page speed.
How FastPhotoEditing can help
Our product photo editing services deliver every image ready to upload: resized to your store’s display size, converted to sRGB, exported in the format and quality you choose, and named to your pattern, with masters available for archive. We apply the same export settings to every batch so your catalogue stays consistent, and can supply separate marketplace and website versions of each image. Prices start from $0.50 per image for catalogue work, with most services delivered in 24 hours.
See all tiers on our pricing page, or send 3 images free with your target size and format and compare the files with your current ones.
FAQ
What JPEG quality should I use for product photos?
Around 75 to 85 usually gives the best balance. Compare a few settings on a typical image at 100% zoom and choose the lowest that looks the same as the master.
Should I upload WebP images to Shopify?
You can, but Shopify already converts and serves modern formats automatically to supported browsers. Uploading a well-sized, good-quality JPEG master is usually enough.
Does compressing images affect SEO?
Faster pages give a better experience, and page speed is one of many factors search engines consider. Compression helps most when images were the main cause of slow loading.
Why does my white background look grey or blotchy after compression?
Heavy JPEG compression can create faint off-white blocks. Use a slightly higher quality setting, or check that the background was pure white before export.