> For the complete documentation index, see [llms.txt](https://docs.optis.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.optis.me/swatch/variant-images/variant-images-on-collection-pages.md).

# Variant images on collection pages

Bring the same variant-aware gallery from the product page to your **collection pages**. After a shopper picks a variant on a collection card, the card's image gallery updates to show only that variant's images — swiping stays inside that variant's set.

{% hint style="info" %}
Requires [Variant Images](https://docs.optis.me/swatch/variant-images/show-images-per-variant.md) to be enabled and set up first — this setting extends it to collection cards.
{% endhint %}

## How to set it up

{% stepper %}
{% step %}

#### Make sure **Variant Images** is enabled and configured

See [Show Images per Variant](https://docs.optis.me/swatch/variant-images/show-images-per-variant.md).

<figure><img src="https://4026661835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F50cmOdvfYj3qqQaTzKEI%2Fuploads%2FM2u2jPU2vMNFkgsGcpjY%2FScreenshot%20at%20Sep%2027%2021-42-42.png?alt=media&amp;token=d7eb3e67-2b3b-470f-a6a1-4cfaf81dde2e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Go to the **Variant Images** page → turn on **Variant images on collection page and Save**

<figure><img src="https://4026661835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F50cmOdvfYj3qqQaTzKEI%2Fuploads%2FQmnxwVOzM40F74Z9ymmu%2FScreenshot%20at%20Sep%2027%2021-43-35.png?alt=media&amp;token=a5cac276-2480-4144-a0f5-707ea3542729" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

Once enabled, selecting a variant on a collection card swaps the card's gallery to that variant's images, the same way it already works on the product page.
