How can I prevent the gallery from changing with variant selection?
Keep the product gallery on the same images when customers pick a size, color, or other option.
Last updated About 4 hours ago
By default, the product gallery reacts when someone selects a variant. You can change that behavior in the Product information section settings.
Stop the gallery from updating
- Open your product template in the theme editor.
- Select Product information.
- Find Gallery variant image style and choose None.
The gallery stays on whatever images are showing, no matter which variant is selected. Customers still pick variants through the Variant selector block β only the gallery behavior changes.
Other gallery modes
- Default β when a variant has an assigned image, the gallery jumps to show it. This is the standard Shopify experience.
- Variant only β hides all images except those tied to the selected variant. Useful when each color has its own photos and you don't want the others visible.
Both modes need variant images assigned in the product admin. See How to assign variant images if images aren't switching when you expect them to.
Other settings
Zoom, slideshow layout, and full-width gallery options are in Product gallery settings. Swatch and selector styling is in Variant swatches.