How to Add a Gallery to Each WooCommerce Variation (2026)
Table of contents
- The problem with one photo per variation
- What WooCommerce does now, and where a plugin helps
- What the free version gives you
- Step by step: set up your first variation gallery
- 1. Install the plugin
- 2. Open a variable product
- 3. Add the gallery images
- 4. Pick the layout
- 5. Test on a phone
- What Pro adds
- Plan your photos before you upload
- Keep the page fast
- Pricing
- FAQ
- How many images can each variation have?
- Does it work with WooCommerce's built-in variation gallery?
- Where do I add the images?
- How do I add the same photos to every blue variation?
- Can I import galleries from a spreadsheet?
Last updated: 6 December 2026
To show a different set of photos for each colour or style in WooCommerce, you give every variation its own gallery, and the product page swaps to that gallery when the buyer picks an option. Variation Gallery for WooCommerce is our new plugin for exactly this. Here is how to set it up, what the free version covers, and how to plan your photos so the page stays fast.
The problem with one photo per variation
Imagine a furniture store selling one sofa in oak, walnut and white. A buyer clicks "walnut". The page shows a single walnut thumbnail, while the rest of the gallery still shows the oak version from three angles. That is confusing. The buyer wonders which photos are real.
Shoppers decide on photos. They want the front, the back and a close-up of the exact option they picked. A shirt needs a worn shot. A phone case needs the camera cut-out. A lipstick needs the shade on skin. One lonely image per colour does not carry any of that.
There are three common workarounds, and each has a cost:
- Put every photo in the parent gallery. Quick, but colours get mixed together and phones download pictures nobody looks at.
- Make one product per colour. Clean pages, but you multiply the maintenance and split your reviews across many URLs.
- Give each variation its own gallery. One product page, one set of reviews, and the right photos for each option. This is the one we recommend for most stores.
What WooCommerce does now, and where a plugin helps
WooCommerce 11.1 stores a gallery for each variation in core. That is useful, but it has no display options. You get the swap and not much else. There are no thumbnail positions, no zoom controls and no bulk tools.
Our plugin respects that. If a variation has no gallery saved in the plugin, it shows the one WooCommerce saved, so you do not need to upload anything twice. On top of that it adds the controls a store owner usually wants on the product page.
What the free version gives you
The free plugin is a real working gallery, not a teaser. It includes:
- A Variation gallery field on every variation, with a media picker and drag-to-reorder
- Up to 2 extra images per variation, plus the variation's own image as the first slide
- Automatic switching when a variation is chosen, and a return to the normal gallery when the choice is cleared
- Thumbnails at the bottom, left or right, with your own gap between them
- Previous and next arrows, hover zoom, a click-to-open lightbox and a small loading spinner
- Compatibility with High-Performance Order Storage and the cart and checkout blocks
Two extra images plus the main one gives you three shots per colour. For many small catalogues that is enough.
Step by step: set up your first variation gallery
1. Install the plugin
Download the zip from the free download page. In WordPress go to Plugins, then Add New, then Upload Plugin, and activate it. WooCommerce must be active too.
2. Open a variable product
Edit a product that already has variations, such as colour or finish. Go to the Variations tab and expand one variation.
3. Add the gallery images
Find the Variation gallery field. Choose images from the media library, drag them into the order you want, then save the changes. Repeat for each variation.
4. Pick the layout
Go to WooCommerce, then Variation Gallery. Choose where thumbnails sit (bottom, left or right) and the gap between them. Turn arrows, zoom and lightbox on or off.
5. Test on a phone
Open the product page on a real phone. Pick a colour. Does the gallery swap? Clear the choice. Does the original gallery return? If your theme wraps its gallery in a different container, the settings page has a Gallery CSS selector field. The default is .woocommerce-product-gallery, which most themes use.
What Pro adds
| Need | Free | Pro |
|---|---|---|
| Images per variation | 2 extra | Unlimited |
| Slider with autoplay, interval and pause on hover | No | Yes |
| Navigation dots and full arrow, slide and thumbnail styling | Basic arrows | Yes |
| Captions from the media library | No | Yes |
| Run on all, selected or all-but-selected products | No | Yes |
| Inherit a gallery from a same-colour variation or the parent | No | Yes |
| Bulk assign by attribute value, with dry run | No | Yes |
| Incomplete-gallery report and CSV export and import | No | Yes |
The time saver is bulk assign. A shirt in blue with five sizes means five variations that should share the same photos. Instead of picking images five times, you choose the attribute (for example pa_color = blue), pick the images and apply them to every matching variation. A dry run shows the count before anything is saved.
Plan your photos before you upload
A tool cannot fix a messy shot list. Spend ten minutes deciding what each option needs.
- Clothing: front, back, fabric detail, worn.
- Furniture: full piece, finish close-up, in a room.
- Cosmetics: pack, swatch on skin, texture.
- Phone cases: back, camera area, side buttons.
Keep the order the same for every colour. If the first photo is always the front view, the buyer learns the pattern without thinking. When photos jump around, the page feels sloppy.
Also think about the size trap. If your variations are colour and size, a buyer often picks the colour first and expects the photos to change at once. WooCommerce matches a complete combination, so set up your attributes with that in mind, and consider showing colour choices as swatches. Our post on colour and image swatches in WooCommerce covers that side.
Keep the page fast
More photos means more weight. A gallery that looks great and loads in six seconds loses the sale anyway. Export images at a sensible size, and let an optimiser convert them to WebP or AVIF. Our free PixelLite image optimiser does that on your own server. If you also sell by video, see how to add product videos to the WooCommerce gallery.
Finally, check the incomplete sets. In Pro, a report lists variations with fewer images than the minimum you choose and exports as CSV. It is a quick way to find the one colour that still has a single photo.
Pricing
The free version costs nothing. Pro is an add-on that needs the free plugin installed. In India it is ₹999 a year or ₹149 a month. Internationally it is $12 a year or $2 a month. Each licence covers one site, with updates and support, and there is a 3-day refund if it does not work for you. See the Variation Gallery plugin page for the current details, or browse all our plugins. Questions? Contact us.
FAQ
How many images can each variation have?
The free version supports 2 extra images per variation, plus the variation's own image. Pro has no limit.
Does it work with WooCommerce's built-in variation gallery?
Yes. If a variation has no gallery in this plugin, it shows the gallery WooCommerce saved for it (WooCommerce 11.1 and later), so you do not upload again.
Where do I add the images?
Open a variable product, go to Variations, expand a variation and use the Variation gallery field. Choose images, drag to reorder and save.
How do I add the same photos to every blue variation?
With Pro, open WooCommerce, then Gallery Tools. Enter the attribute and value, choose the images and run it. Start with a dry run to see how many variations match.
Can I import galleries from a spreadsheet?
Yes, in Pro. Export all variation galleries to CSV, edit them, and import them back by variation ID or SKU. A dry run shows what would change first.
Ready to try it? Download the free plugin and set up one product today.
Need quality backlinks?
White hat guest posts on real sites with real traffic.