Success
How do I get a product's slideshow gallery to automatically switch to the correct variant image?
Assign an image to each variant so the product gallery switches to the matching selection.
Assign an image to each product variant in Shopify, then choose how Align updates the product gallery when a customer selects that variant.
Assign variant images
Section titled “Assign variant images”- In the Shopify admin, open the product.
- In the variant list, select the image thumbnail beside a variant.
- Choose an existing product image or upload a new one.
- Repeat for each variant, then save the product.
You can assign the same image to multiple variants—for example, the same red product image across all red size variants. Shopify supports one assigned image per variant. See Shopify documentation on adding images to product variants for more detail.
Choose the gallery behavior
Section titled “Choose the gallery behavior”- Open the product template in the theme editor.
- Select the Product information section and make sure it contains a Variant selector block.
- Find Gallery variant image style and choose:
- Default to show the selected variant image first.
- Variant only to show only the selected variant image.
- None to leave the gallery unchanged when a variant is selected.
- Save and test several variants on the storefront.
For guidance on preparing product imagery, see Using images in Align.
Example
Section titled “Example”This screencapture shows how to assign a variant image in Shopify: