Skip to content
Ecommerce OptimizationPublished 5 min read

How to optimize product images for Shopify

Prepare consistent, fast-loading product photos for Shopify: dimensions, aspect ratios, file formats and compression workflow.

Pick one consistent aspect ratio and resolution

Collection pages look uneven when one product is tall, another is wide and a third is square. Before exporting your catalogue, pick a single aspect ratio — square (1:1) at 2048 × 2048 px is the most common starting point for Shopify themes because it supports zoom cleanly without bloating file size.

Always check your current Shopify theme documentation, as some apparel and furniture themes are designed around 4:5 portrait cards instead of 1:1 squares.

  • Square catalogues: 2048 × 2048 px (or 1000 × 1000 px for lightweight themes).
  • Portrait catalogues: 1200 × 1500 px (4:5 ratio).
  • Avoid uploading raw 4000–6000 px camera originals directly.

Make non-square photos square without cutting off the product

Tall bottles, shoes and vertical packaging get clipped if you force them into a square with a hard crop. Instead of stretching or cropping, place the photo on a square canvas with even margins around the edges.

Use white padding for white-background studio shots, or transparent PNG/WebP padding when your theme uses a subtle grey product card background.

Choose the right format and compress before uploading

Shopify automatically serves modern formats to supported browsers, but starting with clean, reasonably sized source files speeds up uploads and avoids soft re-encoding artefacts.

Export standard product photography as JPG or WebP around 80–85% quality, and reserve PNG for images that genuinely require transparency or crisp line art.

Use descriptive filenames and ALT text

Rename camera files like IMG_4821.JPG to concise, descriptive names such as ceramic-pour-over-kettle-matte-black.webp before uploading. Write ALT text that describes what is actually visible in the frame (material, colour, angle) rather than repeating a list of keywords.

Try the tools mentioned in this guide

Browse all image tools