> For the complete documentation index, see [llms.txt](https://ursus-ecom.gitbook.io/arctos-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ursus-ecom.gitbook.io/arctos-theme/blocks/media/gallery.md). Agents can also search and read this documentation through its [MCP server](https://ursus-ecom.gitbook.io/arctos-theme/~gitbook/mcp).

# Gallery

Build a responsive image or video gallery with grid, carousel, hover, heading, and call-to-action controls.

The **Gallery** block (whose underlying block schema name is **Instagram list**) displays a set of image or video media items in a grid or carousel. Use it for lookbooks, brand imagery, social-style feeds, product storytelling, or visual highlights.

Gallery includes a built-in heading area and merchant-addable **Media** items. The parent block controls the shared layout, media shape, color context, and spacing; each Media item controls its own image or video, link, and hover behavior.

### 1. What you can do

* Add and reorder Media items inside one Gallery
* Use images, uploaded videos, or a mix of both
* Display media as a grid or carousel
* Turn a desktop grid into a mobile carousel
* Use automatic scrolling, hint previews, control buttons, pagination, and drag interaction
* Set shared media orientation, aspect ratio, vertical position, and corner radius
* Add a built-in heading and optional button above or inside the Gallery
* Add hover color overlays, hover media swaps, grayscale, zoom, and clickable media links

### 2. Understanding the Gallery structure

The Gallery contains one merchant-addable child block type and one built-in heading area:

```
Gallery (Instagram list)
|-- Header content (built in)
`-- Media
```

The **Gallery** parent controls the shared grid or carousel, media frame, color scheme, and outer spacing.

Each **Media** child item stores one image or video and its interaction settings. Add one Media item for each visual you want to show.

The built-in **Heading group** contains a Title and Button. You can configure their content and layout, but they are part of the Gallery structure rather than Media items.

{% hint style="info" %}
**Note:** The Gallery is for manually added images and videos. It does not automatically sync or import posts from a social media account.
{% endhint %}

### 3. How to add a Gallery

{% stepper %}
{% step %}
**Open a compatible section**

In the Theme Editor (Customize), open a compatible section or container.
{% endstep %}

{% step %}
**Add a gallery block**

Click **Add block**, then select **Gallery**.
{% endstep %}

{% step %}
**Choose media for each item**

Open each **Media item** and choose an image or video.
{% endstep %}

{% step %}
**Manage media items**

Add, duplicate, remove, or reorder Media items as needed.
{% endstep %}

{% step %}
**Configure the gallery settings**

Set the layout, carousel behavior, media shape, heading area, color scheme, and spacing.
{% endstep %}

{% step %}
**Optional: edit the heading area**

Edit the built-in Title and Button in the heading area.
{% endstep %}

{% step %}
**Preview the gallery**

Check how it looks on desktop and mobile.
{% endstep %}

{% step %}
**Save your changes**

Click **Save**.
{% endstep %}
{% endstepper %}

### 4. Gallery settings

<details>

<summary>List layout, desktop, and mobile</summary>

Gallery uses the same core grid, carousel, item count, gap, control button, pagination, hint, and mobile carousel patterns as Custom list. Use the [Custom list guide](https://ursus-ecom.gitbook.io/arctos-theme/blocks/layout/custom-list.md) when you need detailed guidance.

</details>

<details>

<summary>Media settings</summary>

Media settings control the shared frame used by every Media item in the Gallery. For deeper image and video guidance, see [Image](https://ursus-ecom.gitbook.io/arctos-theme/blocks/basic/image.md) and [Video](https://ursus-ecom.gitbook.io/arctos-theme/blocks/basic/video.md).

</details>

<details>

<summary>Header content</summary>

The built-in **Header content** block controls the Gallery title and optional button as one heading area. It can sit outside the media list or inside the gallery frame.

<table><thead><tr><th width="96.1015625">Setting</th><th width="166.02734375">Options</th><th width="420.71875">What it does</th></tr></thead><tbody><tr><td><strong>Width</strong></td><td><ul><li>Fit</li><li>Fill</li><li>Custom</li></ul></td><td>Sets how wide the heading area is. Custom width can use percent or pixel values.</td></tr><tr><td><strong>Position</strong></td><td><ul><li>Outside</li><li>Inside</li></ul></td><td>Places the heading area outside the media list or inside the Gallery.</td></tr><tr><td><strong>Outside layout</strong></td><td>Direction, alignment, position, gap, and mobile overrides</td><td>Arranges the Title and Button when the heading area is outside the media list. These controls follow the same layout pattern as <a href="https://ursus-ecom.gitbook.io/arctos-theme/blocks/layout/group.md">Group</a>.</td></tr><tr><td><strong>Inside layout</strong></td><td>Gap and mobile gap overrides</td><td>Spaces the built-in Title and Button when the heading area is inside the Gallery.</td></tr><tr><td><strong>Spacing</strong></td><td>Padding controls</td><td>Adds padding inside the heading area, with separate mobile values available.</td></tr></tbody></table>

</details>

<details>

<summary>Style</summary>

Style controls the Gallery color context.

<table><thead><tr><th width="100.42578125">Setting</th><th width="100.48046875">Options</th><th width="479.69921875">What it does</th></tr></thead><tbody><tr><td><strong>Inherit color scheme</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td><ul><li>Turning this <strong>On</strong> matches the Gallery colors to the section or block it sits in.</li><li>Turning it <strong>Off</strong> lets you pick a unique color scheme to make the Gallery stand out.</li></ul></td></tr><tr><td><strong>Color scheme</strong></td><td>Color scheme picker</td><td>Use the picker to select a color scheme set in <a href="https://ursus-ecom.gitbook.io/arctos-theme/theme-settings/colors.md">Theme settings > Colors</a>. <em>Only available when <strong>Inherit color scheme</strong> is off.</em></td></tr></tbody></table>

</details>

<details>

<summary>Spacing</summary>

<table><thead><tr><th width="113.93359375">Setting</th><th width="192.8046875">Options</th><th width="375.55078125">When to use</th></tr></thead><tbody><tr><td><strong>Padding</strong></td><td>Custom value per side</td><td>Sets the spacing between the block and its surrounding edge.</td></tr><tr><td><strong>Margin</strong></td><td>Custom value per side</td><td>Sets the spacing around the block to separate it from neighboring blocks.</td></tr><tr><td><strong>Custom on mobile</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Set separate padding and margin values for mobile.</td></tr></tbody></table>

</details>

### 5. Media settings

Each **Media** child controls one visual in the Gallery. Media items do not contain nested child blocks.

<details>

<summary>Media</summary>

| Setting                                              | Options                                                       | What it does                                                    |
| ---------------------------------------------------- | ------------------------------------------------------------- | --------------------------------------------------------------- |
| **Type**                                             | <ul><li>Image</li><li>Video</li></ul>                         | Selects whether this gallery item displays an image or a video. |
| **File**                                             | <ul><li>Image picker / Video picker</li></ul>                 | Selects the image or video file for this gallery item.          |
| **Full media link** / **Link** / **Open in new tab** | <ul><li>On / Off</li><li>URL input</li><li>On / Off</li></ul> | Enables a clickable link across the entire gallery item.        |

</details>

<details>

<summary>Interaction</summary>

Interaction settings control whether a Media item is clickable and what happens on hover. These settings follow the same pattern as the interaction and hover controls in [Image](https://ursus-ecom.gitbook.io/arctos-theme/blocks/basic/image.md) and [Video](https://ursus-ecom.gitbook.io/arctos-theme/blocks/basic/video.md).

</details>
