When using the “Change product image” option:
- If set to Auto detect variation image, you can assign a gallery for each variation normally. The corresponding gallery will display when customers click on the swatches.
- If set to Change to image set for attribute and you assign a gallery to each attribute. The gallery for the selected attribute will be shown when its swatch is clicked.
Attribute gallery inside product page:
Gallery for attribute in Global Attribute settings
For global attributes, if a gallery is assigned to an attribute inside the product page, it will override the global setting. Product-level galleries take priority.