Shopify Product Image Backup: How to Bulk Download All Your Store's Images (No App Needed!)

Hey there, fellow Shopify store owners! As someone who spends a lot of time digging through the Shopify community forums, I often come across discussions that hit close to home for many of you. Recently, a thread popped up that perfectly illustrates a common challenge: how do you get all your product images off Shopify as actual files, not just URLs?

It sounds simple, right? But if you've ever tried to do a bulk export, you know it's not always straightforward. This particular discussion started with a store owner, Friday-Deals24 (who later signed off as Sam), facing a big task: cleaning up over 2000 duplicate products. The problem? Deleting a duplicate product also deletes its images. Sam needed a reliable way to create a local backup of *all* their product images before hitting that delete button.

This isn't just about cleaning up; it's crucial for migrations, local archiving, or even just having peace of mind that your visual assets are safe. Sam asked the community for help, looking for recommended apps, export methods, or workflows.

The Community Steps Up: A Clever DIY Solution

While there are definitely apps out there designed for bulk image exports, a fantastic community member, tim_1, shared a brilliant workaround that lets you do it without installing a single new app. This is perfect for those who prefer a more hands-on approach or want to avoid extra subscription costs.

The core idea is to create a temporary, hidden collection page in your theme that displays all your product images. Then, you simply use your browser's "Save As" feature to download them. It sounds a bit like magic, but it's a smart use of Shopify's Liquid templating!

Step-by-Step: How to Bulk Download Your Shopify Product Images

Here's how you can implement tim_1's method, which Sam confirmed worked perfectly for their store:

1. Create an Alternate Collection Template

First, you'll need to create a new template file in your Shopify theme. This template will be designed specifically for exporting images.

  • Go to your Shopify Admin > Online Store > Themes.
  • Find your current theme and click "Actions" > "Edit code."
  • Under "Templates," click "Add a new template."
  • Choose "Collection" as the base, and name it something descriptive like image-export.

2. Add the Custom Liquid Code

Now, in your newly created collection.image-export.liquid file, you'll replace its content with some custom Liquid code. This code will loop through your products and display each product's images.

  • Hide all existing sections on this template.
  • Add a "Custom liquid" section (or just paste directly into the template file if you're comfortable with theme code).
  • Paste the following code:
{% paginate collection.products by 200 %}
  
{{ paginate | default_pagination }}
{% for product in collection.products %}

{{product.title }}

{% for i in product.images %} {{ i | img_url: 'master'|img_tag }} {% endfor %} {% endfor %} {% endpaginate %}

Pro Tip: If you want an even cleaner page without any theme headers or footers, you can add {% layout none %} at the very top of your collection.image-export.liquid file. This will strip away all the standard theme chrome, leaving just your images.

3. Create a Temporary Collection and Assign the Template

Next, you need a collection that contains all the products whose images you want to download.

  • Go to your Shopify Admin > Products > Collections.
  • Create a new collection (e.g., "All Products for Image Export").
  • Set its condition to "Product price is greater than $0" or "Product title is not empty" to automatically include all your products.
  • On the right sidebar of the collection editor, under "Theme template," select your new collection.image-export template.

4. Browse, Save, and Repeat for Pagination

Now for the actual download!

  • Open this newly created collection page in your browser. You'll see up to 200 products with their images displayed on one page (thanks to the {% paginate collection.products by 200 %} line in the code).
  • In Chrome (or another browser), right-click anywhere on the page and select "Save As..." (or press Ctrl+S / Cmd+S).
  • Choose "Webpage, Complete" as the save type. This will save the HTML page and create a folder containing all the images displayed on that page. Give the folder a descriptive name like "Product Images Part 1".

Screenshot showing Chrome's 'Save As' dialog

Screenshot showing 'Webpage, Complete' option in save dialog

  • If you have more than 200 products (like Sam's 2000+!), you'll see pagination links at the top of the page. Click the next page link and repeat the "Save As" process for each page.

5. Unpublish/Delete the Temporary Collection

Once you've downloaded all your images, make sure to either delete this temporary collection or, at the very least, unpublish it so it's not visible to your customers. Also, remember to revert the collection template to your default one if you just changed an existing collection, or delete the collection.image-export.liquid file if you created a new one.

Why This Matters

This method is a fantastic example of the power of the Shopify community and a bit of Liquid code. It gives you direct control over your assets and provides a robust solution for backing up your product images — a task that's often overlooked until you really need it. Whether you're preparing for a massive product cleanup, migrating to a new platform, or simply want an extra layer of security for your valuable visual content, this technique has you covered.

It's always great to see store owners like Sam find a practical solution to a real-world problem, especially when it leverages the flexibility of the Shopify platform itself. Happy image backing up!

Share:

Use cases

Explore use cases

Agencies, store owners, enterprise — find the migration path that fits.

Explore use cases