> For the complete documentation index, see [llms.txt](https://broadcast.presidiocreative.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://broadcast.presidiocreative.com/broadcast-v5/products/product-pages/variant-images.md).

# Variant images

Display images for any variant type on your product form

> Introduced in Broadcast 5.6

Broadcast can display variants with images to help your customers choose the right product type or size. You can combine swatches for colors and other variant types with images to represent your products visually.&#x20;

<figure><img src="https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/EUZ75RWvpKee90ND9DLV/demo%20ashwagandha.jpg" alt=""><figcaption></figcaption></figure>

## Styles

Enable with the checkbox option and choose the layout style. Two layout styles are available, in-line and stacked:

<figure><img src="https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/sXOgputGF35YVvrwx72k/variant%20image%20theme%20settings.jpg" alt=""><figcaption></figcaption></figure>

#### In-line style

<figure><img src="https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/OsGeunSu9oBarqAer5Ra/variants%20with%20images.jpg" alt=""><figcaption></figcaption></figure>

#### Stacked style

<figure><img src="https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/j3bV5oOZZGThkS0hErOH/stacked%20variant%20image.jpg" alt=""><figcaption></figcaption></figure>

## Product setup

Associate images to variants in your product setup. Broadcast will use the '**Size**' variant images or any other variant type. In the example below, we've used '**Type**' for the variant images:

<figure><img src="https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/yAcKTRGdU447Q86u4nWv/variant%20image%20product%20setting.jpg" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}

* Variant images can be used to help customers see sizes, styles, designs or even packaging.&#x20;
* Swatches can be used to represent colors
  {% endhint %}

## Variant type

You can customize which variant types will use the Variant image feature in Broadcast. By default, Broadcast will use the 'Size' variant. To use other variant types, edit the default theme content (Language editor). Click on the **ellipsis icon** in the top left and choose '**Edit default theme content**':

<figure><img src="https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/wz5A7aG7o8HTh6we5z22/default%20theme%20content%20bold.jpg" alt=""><figcaption></figcaption></figure>

Choose the '**Products'** tab:

<figure><img src="https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/I4AuueDbQT0ZHTWwPcuz/product%20tab.jpg" alt=""><figcaption></figcaption></figure>

Scroll down the long list of options under the '**Products**' tab to a group called '**Product**'.  In this group, you'll find an option called '**Variant option image'**:

<figure><img src="https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/fcg2okktKlD6xou4IdEM/variant%20option%20image%20zoomed%202.jpg" alt=""><figcaption><p><strong>Products tab -> Product -> Variant option image</strong></p></figcaption></figure>

You can change the default '**Size**' value to a different value like '**Type**':

<figure><img src="https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/UbtVxfjLETQBYTYLDUdN/variant%20option%20image.jpg" alt=""><figcaption><p><strong>Replace Size with Type</strong></p></figcaption></figure>

**Save** your changes to complete.&#x20;

{% hint style="warning" %}
Important:\
Currently, **only** **one** trigger word, like "Type" or "Size", can be used. \
Comma-separated values are not supported and will not function.&#x20;
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://broadcast.presidiocreative.com/broadcast-v5/products/product-pages/variant-images.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
