WooCommerce Plugin · v2.2.4

Smart Variation Gallery for WooCommerce

Upload one image and gallery per attribute value — like Color — and apply it automatically to every matching variation. No more uploading the same photos for every size/color combination.

If your products use attributes like Color and Size, stock WooCommerce makes you upload a separate image for every single variation — and it only supports one image per variation, never a gallery. Four colors times four sizes means sixteen uploads, even though the photo only actually changes with color.

What It Does

Smart Variation Gallery fixes this directly

Upload once per value

One image and gallery per attribute value (e.g. "Red"), not per variation.

Auto-applies everywhere

Every variation using that value, across every size, gets the image automatically.

Scoped per product

Two products that both have "Red" never accidentally share the same photo.

One-click sync

"Sync Variation Images" re-applies images any time you add variations or update photos.

Live gallery swap

The frontend product gallery swaps automatically when a shopper changes the variation.

Pro: CSV bulk import

Bulk import/export your image mapping across many products via CSV.

How It Works

Five steps, then you're done

01 //

Pick your attribute

Usually Color, under WooCommerce > Variation Gallery.

02 //

Open the product

Click the new "Variation Gallery" tab in the Product data box.

03 //

Upload per value

One image and gallery per value used on that product (e.g. Red, Blue).

04 //

Sync

Save the product, then click "Sync Variation Images" in the Variations tab.

05 //

Done

All matching variations, any size, now share the same image and gallery.

FAQ

Frequently asked questions

Does this work with custom (non-global, per-product) attributes?

No. The primary attribute must be a global attribute (created under Products > Attributes) so every variation reliably reports the same term slug. The images themselves, however, are stored per product, not shared globally.

If two products both have a "Red" variation, do they share the same photo?

No. Each product has its own Image + Gallery upload for "Red" under its own Variation Gallery tab. Uploading a photo on one product never affects any other product.

Will this overwrite images I already set manually on a variation?

Only when you click "Sync Variation Images." Nothing changes automatically in the background.

Does this duplicate images in my media library?

No. Variations simply reference the same attachment ID you selected on the product's Variation Gallery tab, so nothing is re-uploaded or duplicated.

What happens to variations that don't match any attribute value with an image set?

They're skipped and keep whatever image they already had (or the product's default image).

Compatibility

Requires WordPress 6.0+, WooCommerce 6.0+, and PHP 7.4+. Tested with stock WooCommerce galleries as well as Astra, WoodMart, Woostify, and Elementor single-product templates.

Recent Updates

Actively maintained — recent releases focused on rock-solid compatibility with theme-specific product galleries (WoodMart's Swiper carousel, Woostify's Flickity carousel), fixing subtle race conditions so the correct photos appear every time.

A
Built by the AddOnn Tech team We build fast, secure WooCommerce stores — and the tools to make running them easier.
Need it set up, or want something custom?

We can help with that too

Whether it's installing and configuring this plugin on your store or building something bespoke, get in touch and we'll scope it out.