Shopify 25 MP image limit: how to fix the ‘exceeds maximum image resolution’ error

Shopify 25 MP image limit: how to fix the exceeds maximum image resolution error

You drag a beautiful 6000 x 6000 product photo into Shopify and get this: “Image exceeds maximum image resolution of 25 MP.” Or the older variant of the same error: “exceeds maximum image resolution of 20 MP.” Shopify silently refused the upload. The image is fine. The camera is fine. Shopify just enforces a ceiling on how many pixels a single image can have, and modern cameras blow past it without trying.

The fix is simple in concept (resize the image) and annoying in practice (do that for 800 photos by hand). This post walks through the actual limits, why the error fires, and four ways to get the image into Shopify, ranked from “fastest for one image” to “fastest for a whole catalog.” We also explain why the error sometimes says 20 MP and sometimes says 25 MP (different upload contexts have different caps).

We make CS Smart Bulk Image Upload, an app that auto-handles this exact error. We will mention it where it actually saves a workflow. For one-off uploads or a small batch, you do not need an app. The browser-based fixes below are faster.

In this post

The actual Shopify image upload limits (and why 20 MP and 25 MP both appear)

Two limits, two contexts. This is why merchants get confused.

Upload locationMegapixel capPixel dimensionsFile size cap
Product images25 MP5000 x 5000 max20 MB
Collection images25 MP5000 x 5000 max20 MB
Theme assets / Files / blog images20 MP~4472 x 4472 max20 MB (3 MB for blog)
Hero / banner images (themes)20 MPup to 2500 wide typical10 MB

Megapixels are total pixels (width × height) divided by one million. A 5000 x 5000 image is 25 MP. A 6000 x 4000 image is 24 MP. A 4500 x 4500 image is 20.25 MP, which exceeds the 20 MP limit but fits under 25 MP, which is why the same image is rejected by the Files uploader and accepted by the product image uploader.

Two important things to know:

  • Megapixels and megabytes are different. A 50 MP image at low quality might be 4 MB. A 6 MP image at full uncompressed quality might be 30 MB. Shopify enforces both caps independently. You can fail one without failing the other.
  • Animated GIFs cap at 5 MP. If you are uploading a GIF and it exceeds 5 MP, the error you see is different but the cause is the same.

Why your camera images get rejected even though they look fine

Modern camera bodies shoot at 24, 33, 45, even 100+ megapixels. A current Sony A7R V shoots 60 MP. A Canon R5 II shoots 45 MP. iPhones shoot 48 MP raw. Phone HEIC photos compress smaller in file size but the pixel count is still 48 MP, which is well over Shopify’s 25 MP product cap.

The reason for the cap is real. Shopify serves images from its CDN with on-the-fly resizing. When a customer’s browser asks for a 600 x 600 product card, Shopify pulls the original and resizes it server-side. A 25 MP source is the largest the resizer will handle reliably while keeping the storefront fast. Above 25 MP, latency spikes and the merchant pays in conversion. The cap protects you from yourself.

Annoying? Yes. Justified? Also yes. The right answer is to stop fighting it and ship images at a smarter size.

Fix 1: Resize manually (one image, two minutes)

For a one-off upload, this is the fastest path. Use whatever image editor you already have.

macOS Preview (free, built in):

  1. Open the image in Preview.
  2. Tools > Adjust Size.
  3. Set width or height to 4000 pixels (which lands you safely under 25 MP). Confirm “Scale proportionally” is on.
  4. OK.
  5. Save with File > Export, choose JPEG, set quality to 85%, save.

Windows Photos (free, built in):

  1. Open the image in Photos.
  2. Click the three-dot menu > Resize image.
  3. Set width to 4000 pixels.
  4. Save.

4000 x 4000 = 16 MP, which is comfortably under both the 20 MP and 25 MP caps. You lose no visible quality on a Shopify product page (where the image renders at most at 2048 wide).

Fix 2: Use a free online resizer

If you do not want to install anything, browser-based resizers do the job. Three good ones:

  • Shopify’s own image resizer. Free, on shopify.com, no account needed. Drop the image in, pick a target dimension, download.
  • Squoosh.app (made by Google). Free, runs in the browser, no upload. Lets you compare quality and file size live as you adjust settings.
  • Our own Image Compressor tool. Drop and download, with separate controls for pixel resize and file compression.

For a single image these are perfect. For 200, you will hate yourself by image 30. Move to fix 3 or 4.

Fix 3: Set up a Lightroom or Photoshop export preset

If you shoot product photography in volume and edit in Lightroom or Photoshop, build a one-time export preset that does the resize automatically on every export. Then you stop hitting the limit at the source.

Lightroom Classic:

  1. Select your photos. File > Export.
  2. Image Sizing: check “Resize to Fit,” choose Long Edge, set to 2500 pixels (or 4000 for hero shots). Resolution 72 ppi (web).
  3. File Settings: JPEG, Quality 80, sRGB color space.
  4. Click Add in the Preset panel on the left, name it “Shopify Product.” Save.

From now on, exporting with that preset produces Shopify-ready files every time.

Photoshop: Use File > Scripts > Image Processor. Choose the source folder, output folder, and “Resize to fit” with width 2500 / height 2500. Run. Done in one batch.

Fix 4: Bulk upload that auto-resizes (CS Smart Bulk Image Upload)

For 100+ products with multiple images each, the workflow that hurts least is to skip the manual resize entirely and use an app that handles it during upload. CS Smart Bulk Image Upload does this:

  • Drop hundreds of full-resolution images into the app.
  • The app auto-resizes any image over the Shopify limit before uploading.
  • SKU-based matching auto-routes each image to the right product (or variant).
  • Progress tracking and error recovery if a single image fails.
  • Imports from Google Drive folders too, so a remote photographer can drop the day’s shoot into a shared folder and the app picks it up.

This is the path most catalog-heavy stores end up on once they realize manual resize across hundreds of images is unsustainable. We covered the workflow in detail in our bulk upload of oversized images guide if you want a deeper read on quality settings and batch handling.

What format to upload: JPEG, WebP, AVIF, HEIC

Shopify accepts JPEG, PNG, GIF, WebP, AVIF, and HEIC for product images. Each has a tradeoff:

  • JPEG is the safe default. Universal browser support, fast to compress, predictable quality.
  • WebP compresses about 25 to 35% smaller than JPEG at the same visible quality. Shopify will serve WebP to compatible browsers automatically even if you upload JPEG, so the format you upload mostly affects the source file size, not the storefront delivery size.
  • AVIF is even smaller than WebP. Newer, slightly slower to encode, browser support is now solid.
  • HEIC is what iPhones produce by default. Shopify accepts it, which means you can upload straight from a phone without converting. The trick: make sure the HEIC is under 25 MP and 20 MB. iPhone HEIC at 48 MP is over the cap; you have to downscale first.
  • PNG is for graphics with hard edges or transparency. For photos, PNG is large and the lossless quality is overkill on storefronts. Use JPEG or WebP for photos, PNG for logos and icons.

Switching from JPEG to WebP usually drops the file size enough to dodge the 20 MB cap even when the dimensions are large. So format is a knob you can turn before resorting to a resize.

Shopify’s official recommendation for product images is 2048 x 2048 pixels. That is 4 MP, well under both caps, and it gives the storefront enough resolution for retina displays and zoom. File size should target under 200 KB if possible.

Why 2048 and not 5000 (the max)? Two reasons:

  • Page speed. Larger source images cost more in CDN cache, more in compression CPU, and slightly more in latency for resized variants.
  • Diminishing returns. A 2048-pixel source resized to a 600-pixel product card looks identical to a 5000-pixel source resized to the same. The customer never sees the extra resolution unless they zoom, and most product page zoom maxes out at 2048.

Stores selling jewelry or art where customers actually do zoom into fine detail (texture of a fabric, hallmark on a ring) sometimes use 4096 or 5000 source images for the zoom. Apparel and most consumer goods do fine at 2048.

Run our Image Audit tool against your store to see which products are uploaded oversized; we usually find merchants have a mix.

How to prevent the error from happening in the first place

Three habits prevent 95% of “exceeds 25 MP” errors:

  1. Set up an export preset in Lightroom or Photoshop that resizes to 2048 long-edge automatically.
  2. Tell your photographer the deliverable spec. “2500 wide JPEG at quality 85” is a one-line brief that ends every future error. Most photographers already deliver multiple sizes by default; ask for the web-ready one.
  3. Use the bulk app for catalog uploads. Once you cross the threshold of 50+ images per session, manual resize is no longer the right tool. Auto-resize at upload time is.

This stuff is unglamorous and small. It also accounts for hours of the typical merchant’s week if they let it slide.

Frequently asked questions

What is the maximum image resolution Shopify accepts?

Shopify accepts product and collection images up to 25 megapixels (5000 x 5000 pixels) and 20 MB file size. Theme assets, Files uploads, and blog images cap at 20 megapixels. Animated GIFs cap at 5 MP.

Why does Shopify say my image exceeds 25 MP when it is only 6 MB?

Megapixels are total pixels (width × height divided by 1 million), not file size in megabytes. A 6 MB JPEG can still be 6000 x 5000 pixels, which is 30 MP, over the cap. Resize the dimensions to under 25 megapixels (for example, 5000 x 5000 or smaller). The file size is a separate, additional cap.

What size should I use for Shopify product images?

Shopify’s official recommendation is 2048 x 2048 pixels (4 MP) for square product images, with file size under 200 KB. This gives enough resolution for retina displays and zoom while keeping the storefront fast. Going up to 5000 x 5000 is allowed but rarely useful for typical consumer products.

Can I bulk upload oversized images and let Shopify resize them?

Not natively. Shopify rejects oversized images at the upload step rather than resizing them automatically. To bulk upload full-resolution photos without manually resizing each one, use a third-party app like CS Smart Bulk Image Upload that resizes during the upload pipeline. Shopify’s own resizer is browser-based and one image at a time.

Does WebP or AVIF help with the 25 MP error?

Only for the file size cap (20 MB), not the megapixel cap (25 MP). WebP and AVIF compress smaller than JPEG at the same dimensions, so they help if your image is over 20 MB. They do not change the pixel count, so a 30 MP image is still rejected even as WebP. Resize first, then convert format.

My iPhone HEIC photo is 48 MP. Why?

Modern iPhones default to 48-megapixel ProRAW capture. The HEIC file looks small on disk (compressed format) but contains 48 million pixels, which is over Shopify’s 25 MP cap. To upload, switch the iPhone camera to 12 MP mode (Settings > Camera > Formats) or resize the photo before upload.

Will resizing my image hurt my product zoom quality?

For most stores, no. Shopify’s product zoom typically renders at up to 2048 pixels. A 2048-pixel source provides full zoom quality. Going up to 4000 or 5000 only matters for stores where customers zoom into fine detail (jewelry, art, fabric textures). Apparel and most consumer goods see no quality difference at 2048.

One last thing. If you keep hitting this error, the underlying problem is usually that your photographer is sending you full-resolution master files instead of web-ready exports. Send them this post. Or better, hand them a one-line spec (“2500 wide JPEG at quality 85”) and the issue goes away forever.

Co-Founder at Craftshift