Static Variant Media
A fixed media item from the product gallery for gallery thumbnails or dynamic image grid.
Last updated
How to use
Connect
⛁ Butter Datato the product'sButter DataCMS field.Set
DisplaytoSingleand choose the media↳ Slotnumber, or set it toAllto render every media item automatically using the built-in↳ Layoutcontrols.Set an
Actionunder Interactions to decide what a click does, and whether it fires on click or on hover.If using as a thumbnail, style the active and inactive looks so the current thumbnail is visually distinct.
A single fixed thumbnail, or a full auto-generated grid
|
|
|---|---|
| Shows one fixed media item, chosen by its position ( |
| Renders every media item in the gallery as a thumbnail strip or grid, laid out with the component's own |
Because it's index-based, reordering the product's media in Shopify changes what appears in a given Single slot — worth keeping in mind if you've hand-picked a specific thumbnail by number.
Turning a thumbnail into a click (or hover) trigger
| What it does |
|---|---|
| Selecting this thumbnail changes the active variant/image shown elsewhere in the gallery (e.g. the Media Slideshow or Active Variant Media). |
| Scrolls the gallery to this item without changing the active selection. |
| Zooms this thumbnail's own media in place, with its own |
| The thumbnail is purely visual — clicking it does nothing. |
When Action is set to Update Gallery, you can also choose whether it fires On Click or On Hover — useful for a thumbnail strip that updates the hero image as the customer's cursor moves across it.
Active, inactive, and hover styling
Thumbnails carry three independently styled looks: an Inactive base look (overlay color, border, background, opacity, scale) for every thumbnail that isn't current, an Active look for the one matching the current gallery selection, and a Hover look layered on top while the pointer is over a thumbnail — so the current item, a hovered item, and everything else can all read differently at a glance.