The Image Variant Manager

Every variant gets its own images: build galleries per variant, sort them and show them in your shop.

The walkthrough for this topic is being recorded. Until then, the text below covers everything.

What it is about

Shopify knows only one image per variant. The Image Variant Manager gives every variant its own gallery — a customer who picks “Red” sees only the red images. It replaces the standard image management on the product page inside the app.

Building galleries

On the product page you first see only a preview of your product images. Clicking “Show all” (or the images) opens the whole Image Variant Manager: it takes over the entire editing area, all other fields are hidden, and you scroll the page as usual. “Back to the product” returns you to where you were; your typed text, unsaved image changes and running saves are kept — closing is not discarding. The product list, the language and market selection and the save bar stay visible, and switching to another product keeps the image manager open. In the manager the product gallery sits at the top, with one gallery per variant below. Click the heading of the product gallery to fold it away — like the variant galleries — so you reach the variants without long scrolling; it stays folded after saving, opens again for the next product, and a selection you made in it is kept — but while the gallery is folded, “Delete” unfolds it first so you see what is deleted, and the selection does not count for the bulk alt text actions or the WebP conversion (the first click on that button just unfolds the gallery). Drag images from the product gallery or your Shopify file library into a variant, sort them by dragging, and copy or move them between variants. Videos, YouTube/Vimeo links and 3D models are supported too. As soon as you select an image — in the product gallery or in any variant gallery — a bar stays at the bottom of the screen while you scroll: it shows the alt text of the selected image (with the AI buttons) and the actions for the selection (copy, move, delete, remove from the variant, clear selection), so you never have to scroll down to the end of a long gallery. With several images selected it shows the actions only; on a phone the actions appear as small icons.

If you click quickly through several products, the variants of a product may briefly fail to load. The app then tries a few more times on its own, and a notice offers “Try again”; you do not have to leave the product. While the variants are missing, the app saves or deletes nothing for them: saving with bulk images assigned to variants and deleting product images are refused with a message instead of writing something wrong. The same applies while the variants are being re-read after a save: the variant galleries briefly cannot be changed, and dragging, dropping or adding into them is refused with a message.

After saving, variant galleries you had opened stay open, and the view (“All” or “Unassigned”) and your selection stay as they were; the images are reloaded in the background. Only switching to another product starts the view afresh.

If the target variant already has an image (in its gallery or as its main image), the app refuses the move or copy, names the variant in the info box and changes nothing — the image stays where it was. This also applies to the same file stored under two names, as long as the app can recognise it as the same file. Picking files from your library for a variant works the same way: an image the variant already has is not added and is named in the info box, everything else you picked is added.

The main image

The first image of each variant is its main image, marked with a gold border. To make another image the main image, drag it to the first place of that variant's own gallery; the previous main image moves to the second place and stays in the gallery. If you drag the main image away from the first place, the next image takes over. Reordering the product gallery, adding images or copying them never changes a variant's main image.

Only an image can be the main image: dragging a video, a YouTube/Vimeo link, a 3D model or an image that is not saved yet to the first place is refused with a message, and the only image of a variant cannot be dragged away from the first place. If you delete the main image or move it to the product gallery, the next image of that variant's own gallery takes its place automatically; a variant is only left without a main image when it has no other image of its own. As soon as you change the gallery of a variant that has no image at all, its first own image is shown as its main image, and it becomes the main image when you save. An image from your file library is added to the product when it becomes a main image. If a variant with a main image has no other gallery image left (for example because you removed the last one, or you deleted the main image and only one image moves up), your store shows only its main image for that variant instead of all product images. This only applies to products with more than one variant, and once the Variant Gallery (App Embed) is activated in your theme; for a product with only one variant, the store keeps showing all product images.

To take an image out of a variant and put it into the product gallery, hold Ctrl (Mac: Cmd) and drop it onto an image tile of the product gallery; without Ctrl nothing moves. Dragging a variant's main image onto another variant moves it: it appears at the place where you drop it, and the first variant's first own image becomes its main image (if it has no other image, it is left without a main image). If you drop it on the first place of the other variant, it becomes that variant's main image and the previous main image moves into its gallery. Both variants are saved together or not at all: if one of them was changed elsewhere in the meantime, the image stays unchanged on both. Hold Ctrl (Mac: Cmd) to copy the main image instead; it then stays the main image of the first variant. If the target variant still has an unsaved main image change of its own, or one of the two is already part of another pending move, save first. As long as a move is not saved, the main image of these two variants and the moved image cannot be changed or removed otherwise: save first. If you drag the moved image back onto the first variant before saving, the move is undone.

Showing them in the shop

For visitors to see the variant galleries, switch on the “Variant gallery” app embed in the theme editor. It adopts your theme gallery's settings. If two galleries appear on top of each other, enter your theme gallery's CSS selector in the embed.