Set Up and Browse Variation Image Galleries
On this page
Documentation pages
Before you start
Use a variable product with valid WooCommerce attributes and variations on a supported classic single-product page. Check that Variable product is not selected under WooCommerce → Gallery Spotlight → Excluded Product Types.
Gallery Spotlight reads each variation’s own image and any additional gallery images exposed by WooCommerce. It does not add a separate variation-image uploader. Multiple images require a WooCommerce version or compatible integration that supplies variation gallery images through WooCommerce’s product data. An older editor with only a single variation-image control cannot create a multi-image gallery through Gallery Spotlight alone.
Assign variation images
- Open Products → All Products and edit the variable product.
- Open Product data → Variations and expand the variation you want to illustrate.
- Assign that variation’s own image using its image control.
- If your WooCommerce editor provides a variation gallery, add the remaining images there and put them in the required order. In WooCommerce’s newer classic variation gallery, the controls include Add variation images, Add to gallery, Manage variation gallery and Update gallery; the exact presentation depends on your WooCommerce version.
- Save the variations and select Update on the product.
- Repeat for another colour or style, then view the product as a customer.
Expected result: readable variation-owned images appear in their own ordered collection. The variation’s primary image comes first, followed by its additional images; duplicate attachment IDs are removed. Parent product images and parent videos are not appended to that collection.
Give each variation the images you actually want it to show. Assigning photos only to the parent Product gallery does not create a separate collection for every variation.
Browse without changing the purchase choice
- Start in the All images view on the product page.
- Select a collection thumbnail to preview its cover. Multi-image collections show a stack/count cue.
- Use View collection to open the images for that collection.
- Browse with the available thumbnails, arrows or swipe gestures. You can open its images in the lightbox.
- Use All images to return to the overview. Its accessible label is Back to all images.
Browsing does not change the variation selectors, price or basket. All images is a gallery navigation action, not WooCommerce’s variation reset. A collection with a single image is displayed directly instead of opening a separate one-image collection.
Select the variation you are viewing
- While viewing a selectable collection, press Select.
- Wait for the loading indicator. The plugin checks the collection against the current product choices and availability.
- Review the variation selectors brought into view and highlighted by the gallery.
- If prompted Choose the remaining options., complete those choices in the normal WooCommerce selectors. Incompatible existing choices may be cleared.
- Check the resulting variation, price and availability, then use the normal add-to-basket button.
Selected confirms a resolved selection made through the collection action. Selecting a collection does not add the product to the basket. A collection that is already matched, cannot map safely to the selectors, or has no currently purchasable/in-stock choice may not offer Select. The normal WooCommerce variation controls remain the way to make or complete the purchase selection.
Shared collections
Gallery Spotlight can group variations that use the same ordered images and differ in one attribute, where the relationship is unambiguous. The collection describes their shared attributes; it is not necessarily a single purchasable variation.
For example, purple shirts in small, medium and large can share the same purple photographs. A grouped purple collection can choose the colour while leaving size to the shopper. Different image order, different owned images, ambiguous combinations or incomplete media can keep collections separate. Do not expect grouping merely because two files look alike.
Collections follow current variation visibility and stock rules. If WooCommerce hides out-of-stock variations, those choices are omitted. Availability is checked again when selection is requested, so a visible collection is not a guarantee that a variation can be purchased.
Changing or resetting the WooCommerce selection
Choosing a variation in the normal product form shows its own media when available. A one-image variation moves to that image without creating a separate one-image browsing view.
Using the form’s reset/clear action restores the parent gallery. A variation with genuinely no owned image or additional gallery images also falls back to the parent gallery. A broken or unreadable assignment is different from an intentionally empty gallery: the plugin can show an unavailable-media message rather than silently substituting parent images.
Returning to All images while a purchase choice remains selected lets the shopper continue browsing. Check the selectors before adding to the basket; the displayed collection and the purchase selection are deliberately separate states.
Loading, limits and errors
Large sets of collections load in stages. You may see Collections are being prepared., Loading collections… or Load more collections. The gallery preserves the shopper’s browsing position when more collections arrive.
The plugin bounds media delivery: a media collection can contain up to 100 items, and collection discovery considers up to 1,000 variation candidates. Missing files and response-size limits can reduce what is displayed. These bounds are not an invitation to fill every product with that many images; use relevant, optimised media.
If Collections could not be loaded. or Variation media is temporarily unavailable. appears, use the offered retry action or reload the page. If it repeats, follow the collection troubleshooting steps. A failed collection request does not justify changing product prices or stock to force the gallery to appear.
What this version does not do
- It does not mix the parent video or general product photos into a variation-owned collection.
- It does not supply a separate variation-video field or independent variation-video collections.
- It does not replace WooCommerce Product Gallery blocks or quick-view galleries.
- It does not create variation choices, change stock or bypass WooCommerce’s purchase validation.
Use gallery settings for collection colours, and lightbox and accessibility for fullscreen and keyboard use.