Skip to content
pixvertoPixverto

How to Optimize Product Images for Shopify and Online Stores

In an online store, the product photo is the shop window. Shoppers judge quality by it, but they also leave if it takes too long to appear on a phone. Good product images need to be sharp, consistent and light. This guide shows how to get all three without over-compressing.

Why product images are different from blog images

A blog image supports the text. A product image is the main reason someone buys. That raises the stakes in three ways:

  • Detail matters. Customers zoom in to check texture, stitching or labels, so images need to hold up at a large size.
  • Consistency matters. A collection page with mixed shapes, lighting and backgrounds looks untrustworthy.
  • Speed matters. Collection pages load dozens of images at once, so a few extra hundred kilobytes per picture adds up quickly, especially on mobile.

The goal is to keep enough detail for confident buying while sending each shopper only the pixels they need.

What your store platform does for you

Hosted store platforms such as Shopify store your uploaded image, create several resized versions and deliver them from a content delivery network, often converting to modern formats such as WebP for browsers that support them. That is convenient, and it changes how you should prepare files.

  • Upside: you can upload a good JPG or PNG and trust the platform to resize and serve it efficiently.
  • Downside: because the platform processes your file again, anything you do beforehand is only the first step, and each extra lossy save costs quality.

Check your platform's current help pages for recommended dimensions and file limits, since these change over time.

Compress before upload or let the platform do it?

This is the question that most store owners get wrong. Here are the two approaches side by side.

ApproachWhen it worksRisk
Upload a high-quality, correctly sized masterHosted platforms that re-encode imagesSlightly larger upload, but best final quality
Compress heavily firstSelf-hosted stores with no image processingDouble compression on hosted platforms, with visible blur or blocks

For a hosted store, resize to the target dimension and save at a high quality, around 85, then upload. Resize and Compress does both in a single step so the picture is saved once. For a self-hosted store without automatic processing, compress more firmly with Compress Image and keep the main image comfortably light.

Step by step: prepare a product image

  1. 1Start from the best original. Keep the camera file or the exported master safe, and work on copies.
  2. 2Convert phone photos if needed. Shopify accepts HEIC, but many other platforms and plugins do not. If your photos came from an iPhone and you sell in more than one place, run them through HEIC to JPG first.
  3. 3Crop to a consistent shape. Choose one ratio, such as 1:1 or 4:5, and cut every photo to it with Crop Image. Leave a little space around the product so it is not clipped by the grid. For square pictures on a white background in one step, use Resize Images for Shopify.
  4. 4Resize. Aim for about 2000 pixels on the long side for the main image, which leaves room for zoom. Secondary images can be smaller.
  5. 5Save at a high quality. About 85 is a good balance, or higher if the product has fine detail.
  6. 6Name and describe. Use a descriptive name such as blue-linen-shirt-front.jpg and write alt text that states what the picture shows, including colour and material when it helps.
  7. 7Check it on a phone. Open the product page on a real phone to see how fast the main image appears and whether detail holds up.

Choosing formats: JPG, PNG or WebP

  • JPG: a good default for photos on plain backgrounds. Small and universal. Shopify's help page names PNG as the best file type for most product images, followed by JPEG, but a high-quality JPG is far lighter for photographs.
  • PNG: useful for cut-outs with transparent backgrounds, but large for photos.
  • WebP: smaller than both, and it supports transparency. Many platforms convert to it for you, so you may not need to upload it yourself.

If you are unsure, see the format comparison guide. Remember that JPG turns transparent areas white, so check how a cut-out looks on your store's background.

Common mistakes

  • Over-compressing before upload, then letting the platform compress again.
  • Mixing shapes and backgrounds, which makes collection grids look messy.
  • Uploading enormous files such as 6000-pixel originals, which slow admin work and gain nothing visible.
  • Skipping alt text, which hurts accessibility and a chance to rank in image search. The image SEO guide shows what to write.
  • Never testing on mobile, where most shoppers are.

How to check the result

Test your main collection page and a few product pages with PageSpeed Insights and compare the results before and after. Look at the largest image on each page and the total image weight. If a page is still heavy, reduce the pixel dimensions of your uploads first, since a smaller picture helps more than a lower quality setting. The website image optimization checklist covers further steps such as lazy loading and caching.

Frequently asked questions

What size should product images be for Shopify?

Shopify's guidance recommends square product images of about 2048 by 2048 pixels, which is large enough for zoom. Check Shopify's current help pages for the exact recommendation and upload limits, because they can change.

Should I compress product images before uploading?

Resize them, and save at a high quality such as 85, but do not compress hard. Hosted platforms re-encode images on their own, and compressing twice reduces quality. Only compress more firmly if your store does not process images for you.

Does Shopify convert images to WebP automatically?

Hosted platforms commonly serve modern formats such as WebP to browsers that support them, so you can usually upload a good JPG or PNG. Check your platform's documentation to confirm how it handles formats.

How do I keep a store's photos consistent?

Pick one aspect ratio and a similar background and lighting, and cut every photo to the same ratio before uploading. A cropping tool makes this quick, and a consistent grid looks more professional.

Can I upload HEIC photos from my iPhone?

Shopify accepts HEIC, but many other platforms and plugins do not. If you sell in more than one place, convert the photos to JPG first, then resize and upload them.

Try the tools