How to compress all your Shopify product images

Compress every Shopify product image in one run with Compress in Bulk Actions. Check the preview first, and undo the run if you want the originals back.

  • By Merchant Control
  • 6 steps
  • 3 min read
Video: Compress Shopify product images in one run, with preview and undo · English subtitles

In short

To compress all your Shopify product images, open Bulk Actions in Merchant Control, set Resource to Images, choose Compress and pick a Quality. Preview changes shows each image before and after, with its file size, before anything in your store changes; an image that would not get smaller is left alone. Each product gets the compressed image as a new file, in the same place among the product's images, and Undo in Activity puts the earlier file back.

The example compresses the images of three snowboards in a Winter Sale collection.

Compress product images, step by step

Step 1: Choose Compress

Open Bulk Actions and set Resource to Images. Keep the Product images tile, and under Action choose Compress.

Bulk Actions: Resource Images, Product images, Compress
Step 1: Choose Compress

Step 2: Select the images

In step 1, Select images, choose the products. Under Products must match, add a condition such as Product collection › is › Winter Sale, and check them with Preview matching products.

Step 1, Select images: the Winter Sale collection
Step 2: Select the images

Step 3: Choose the quality

In step 2, Choose the change:

  1. Keep Images on All images, or choose some images only, for example Images with a file larger than a size you enter.
  2. Set Quality to High, Medium or Low. This guide uses Medium.
  3. Leave Also reduce colors in PNG images off, unless your PNG files are logos or flat graphics. A PNG keeps every pixel; with fewer colors it gets much smaller, and a photo or a gradient can show bands.
Step 2: Quality Medium
Step 3: Choose the quality

Step 4: Preview before and after

Press Preview changes. Nothing is written yet. Step 3, Review and run, shows each image Before and After, side by side. Compare the facts under each image. An image that would not get smaller is left alone.

Review and run: each image before and after
Step 4: Preview before and after

Step 5: Run it

Press Run now. Merchant Control takes you to Activity, where the run is queued and then completed.

Activity: the compress run, Completed
Step 5: Run it

Step 6: Undo if you need to

Each product gets the compressed image as a new file, in the same place, on the same variants and with the same alt text. The file it had stays in Shopify Files, unchanged. In Activity, open the run and press Undo to put that file back on the product. An image changed since the run stays as it is. See Undo bulk edits in Shopify: what comes back.

The Undo question: Later edits stay unchanged.
Step 6: Undo if you need to

Good to know

  • Compress is not Resize: Compress doesn't set a size in pixels. To change the size in pixels, use Resize.
  • Credits: image actions use credits. Review and run shows what the run will use before you press Run now, and Usage lists what each image action uses.
  • Large selections: the preview shows the first images; Run now changes all of them.

With Managed Workflows

Products sitting at different heights in your collection grid? With the Managed Workflows plan, the Align Products to Grid workflow puts each eligible photo on the same white square canvas, on one baseline, without stretching or cutting it. Check every photo before and after, then press Run. Undo all puts the originals back, for 90 days after the run.

How to make all Shopify product images the same size

* Requires the Managed Workflows plan — $119/month.

Features in this tutorial

Less work, more profit.

Get started for free

No monthly fee. Includes 100 one-time credits.