Last reviewed August 10, 2026

How to Optimize Shopify Product Images

Balance useful resolution, file size, theme crops, and catalog consistency without treating every Shopify image as square.

Start inside Shopify's upload boundaries

Shopify documents images under 20 MB, up to 5,000 × 5,000 pixels, and up to 25 megapixels. These limits describe what can be uploaded, not what every storefront should use.

  • Do not enlarge simply to approach the maximum.
  • Keep enough detail for product inspection.
  • Use the original as the archive copy.

Optimize the catalog, not one isolated file

Featured images look more deliberate when product scale, background treatment, and aspect ratio are consistent across a collection. A 2,048 × 2,048 recommendation is useful for square product imagery, while proportional images remain valid.

  • Test theme crops on desktop and mobile.
  • Choose a featured-image ratio intentionally.

File size still affects workflow

Compress oversized files to improve uploads and asset management, then inspect the result. Shopify may optimize delivery formats for shoppers, so a local format choice is not necessarily the exact format each visitor receives.

Official marketplace references

Requirements can change. Review the source before publishing an important listing.

Shopify product media types
Try the browser tool

Check your image locally.

Open Shopify Image Resizer