Shopify Variant Image Management: How to Add, Delete, & Hide Your Images

Master Shopify variant image management with our guide on how to add, delete, and change images based on product variants.

Elijah Adebayo - Writer for Egnition
By Elijah Adebayo
Head and shoulders photo of Michelle Meyer
Edited by Michelle Meyer

Updated July 9, 2024.

A laptop showing a Shopify store with product variant images

Running a Shopify store means you know how important it is to have plenty of high-quality product images that showcase your merchandise in the best possible light. And if you're offering products with multiple variations (like different colors or sizes), you'll need variant images to give your customers the full scope.

But if you want to create a top-notch customer experience in your store, you've got to make sure your product variant images are efficiently managed. Sure, Shopify does optimize your images, but knowing how to add, delete, or hide your Shopify variant images yourself can take your store to the next level.

» Learn effective management strategies to boost your bottom line

1. How to Add Variant Images in Shopify

Having multiple variant images allows you to showcase different angles or features of your product variants. You can easily add multiple images to variants in Shopify by following these steps:

  1. Log in to your Shopify account and navigate to the Products section.
  2. Click on the product you want to add variant images to.
  3. A screenshot of Shopify's dashboard highlighting the products section as the first step to add, change, or delete Shopify variant images
    
  4. Scroll down to the Variants section and click on the image icon next to the relevant variant.
  5. A screenshot of the "Variants" section on Shopify's dashboard with highlights pointing to where to click to add new variant images
    
  6. From the pop-up menu, select the Add image button and upload your images. Note that you can only upload certain file types and image sizes.
  7. Select the image that corresponds to the variant and click Done.
  8. A screenshot of the pop-up menu for adding variant images on Shopify with arrows pointing to the "Add images" and "Done" buttons
    
  9. Click Save to confirm your changes and finish adding your variant images.
  10. Adding Shopify variant images
    

» Want a different look for your product images? Learn how to change their size in Shopify

Changing Your Variant Images

When you have multiple variants for a single product, it’s essential to change the image based on the variant selected by the customer. This feature enhances the user experience, allowing customers to see exactly what they're purchasing.

To change the image based on the variant in Shopify, follow these steps:

  1. Log in to your Shopify account and navigate to the product page where the variant image is located.
  2. A screenshot of Shopify's dashboard highlighting the products section as the first step to add, change, or delete Shopify variant images
    
  3. Scroll down to the Variants section and find the variant with the image you want to change. Click on the Edit button next to it.
  4. Changing Shopify variant images
    
  5. In the Options section of the editing screen, click on the Change button below the image.
  6. Changing Shopify variant images
    
  7. Click on Add image to upload a new image or select one from the preloaded options to replace the existing variant image.
  8. Once you've picked your preferred new image, click Done to confirm your selection.
  9. Changing Shopify variant images
    
  10. When you're done making changes, click Save to update the product variant with the new image.

» Need to know the limits? Find out what's the maximum image size you can upload to Shopify

2. How to Delete Variant Images in Shopify

Sometimes, you may need to delete variant images in your Shopify store, especially if they're outdated or the product variant is sold out. Here are the steps for removing variant images to keep your product information fresh:

  1. Go to your Shopify admin dashboard and navigate to the Products section.
  2. Click on the product that you want to edit.
  3. Deleting Shopify variant images
    
  4. Scroll down to the Variants section and select the variant you want to remove the image from.
  5. Deleting Shopify variant images
    
  6. Click on the ellipsis (three dots) next to the Bulk edit button on the pop-up menu.
  7. Select Remove image from the drop-down menu.
  8. Deleting Shopify variant images
    
  9. Click Save to confirm the changes.

» Back up your visuals before you delete them. Follow these simple steps to download all your product images from Shopify

3. How to Hide Variant Images in Shopify

Instead of permanently deleting your variant images, there may be cases when you just want to stop displaying them for a while, like when a particular product variant is currently out of stock. This can also make your product page less cluttered and help customers focus on the specific variant they're interested in.

That's when hiding variant images in Shopify can come in handy, and this is how to do it:

  1. From your Shopify admin panel, click on Online Store and then Themes.
  2. Hiding Shopify variant images
    
  3. Scroll down and click on the ellipsis (three dots) next to the Customize button for your current theme.
  4. From the drop-down menu, select Edit code.
  5. Hiding Shopify variant images
    
  6. In the left sidebar, click on Assets and then Add a new asset.
  7. Hiding Shopify variant images
    
  8. In the Create a blank file section, name the new asset file "custom" and add a "css" extension (e.g., custom.css), then click Done.
  9. Hiding Shopify variant images
    
  10. Open the "custom.css" file and add this code:
    .product-single__media-item[data-variant-id="VARIANT_ID"] {
      display: none;
    }
  11. Hiding Shopify variant images
    
  12. Replace VARIANT_ID with the ID of the variant you want to hide the image for. You can find the variant ID by checking the URL—the ID is the number at the end of it.
  13. Save the changes to the "custom.css" file.

Using this code, you'll be able to hide the variant image while keeping the variant itself available on the product page.

» Want to hide the whole product variant instead? Follow these steps

Troubleshooting Shopify Variant Image Not Changing

If your variant image is not changing when a different variant is selected, there are a few potential reasons to consider:

  1. The variant doesn’t have an image associated with it.
  2. There’s an issue with your theme’s code.
  3. There’s a delay in Shopify’s system.

If you've already checked for the first two issues and the problem persists, it may be worth contacting Shopify's support team for further assistance.

Please note: You need different images to accurately represent each variant’s unique features. Troubleshooting variant image issues is important to maintain your store's integrity, ensure customer satisfaction, and support your business's success.

» Try these tips to create a visually compelling, lightning-fast store that converts



Optimize Your Variant Images

While properly managing your variant images is vital for your store's success, this alone is often not enough—you also need to make sure they're well-optimized. By optimizing your images, you can improve page load times and enhance the overall customer experience in your store.

With a solution like the All-In-One Image Master app by Egnition, you can quickly optimize multiple variant images at once to save time and effort. The app's helpful features let you easily compress and resize images, add watermarks, and even convert file formats to ensure your variant images are optimized for the web. Plus, its user-friendly interface makes it easy to navigate even if you're not a tech wizard.

» Learn everything there is to know about this app in the following All-In-One Image Master review




Manage Your Shopify Variant Images Like a Pro

Including Shopify variant images is incredibly important for enhancing customer satisfaction and helping your products appeal to a wider audience. But if you really want to take your variant images to the next level, you've got to pay special attention to optimization. And that's where an app like All-In-One Image Master comes in clutch.

When your variant images are optimized and managed correctly, they'll load faster, look better, and give your customers a clearer picture of what they're buying. And when customers can see exactly what they're getting, they're more likely to make a purchase and come back for more.

» Boost your eCommerce SEO with alt text. Discover how to add alt text to product images in your Shopify store

Don't Know what Shopify is?

Start your own online eCommerce business using Shopify platform. Shopify gives you all the tools needed to make the journey easier, faster and more profitable.

Frequent Releases

We work tirelessly to deliver more value to your business. Our roadmap is largely based on the questions you ask. We listen and we deliver as often as we can.

24/7/365 apps support

You can reach out to us via a dedicated support icon in the apps. We're always there. Or simply send us an email with your questions at support@egnition.io

Pin It on Pinterest