Change current gallery image upon selecting an attribute

Gareth Breeze


I need the current image in the gallery to change when the user selects a different colour. Is this possible?

The gallery needs to stay the same, but just automatically switch to a certain image when the user selects a colour.


Gareth Breeze

Hi there,

Thanks for the link but I have already followed that doc. I don’t want to have a completely different gallery of images for each variation, I want to have one single gallery.

For example, one product might have 10 images total. When you select the blue variation it would switch to one of the images, when you select the red variation it switches to another. But the customer can always then manually go through the same gallery.

Is this possible?


Ahmed Ehsaan

Hello Gareth Breeze,

Try this plugin:

Thank you very much.

Gareth Breeze

Hi Ahmed,

Unfortunately that plugin doesn’t do what we need. That changes the whole gallery.

We only want to jump to a specific photo when the variation is changed, but keep the gallery the same.

Based on the 30 days money-back guarantee scheme, could we get a refund on the WooCommerce Variations Swatches Pro plugin, as the documentations were unclear and suggest that you are able to change the image as we need, but it cannot.

Ahmed Ehsaan

Hi Gareth,

Can you please give us a temporary admin access to your site? We’ll try to investigate the issue for you. I image should be changed while switching variations.

You can add new users by going to Users > Add New set the user and password for us, set the role to admin and set the info here.

And add your site URL, login username, and password in the site login area. Follow this guideline:

Hope to hear from you soon!

Hi Gareth,

Just checking in, Did you manage to resolve the issue?