# CMS: Displaying Collection Content in a Pro Gallery

Source: https://support.wix.com/en/article/cms-displaying-collection-content-in-a-pro-gallery (updated 2026-11-12)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

Use a pro gallery to dynamically display images for each item in your CMS (Content Management System) collection. You control which 'Image' field to use for each item, while also connecting collection fields to the image titles, descriptions, alt texts, and links. This type of setup is ideal for both dynamic list pages and static pages, as you can link the images to their items' dynamic item pages.

![Screenshot of a pro gallery's dataset connection options.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/11/17/0a0752bc-d909-4576-a96e-a34350a01e4c/d5756b3c-d245-4180-90d6-6467059b7d43.png)

> **Important:** This article refers to connecting a pro gallery to an 'Image' field used for displaying one image per collection item. Alternatively, you can [connect a pro gallery to a 'Media Gallery' field](https://support.wix.com/en/article/cms-connecting-the-media-gallery-collection-field-type-to-a-pro-gallery) used for displaying several images or videos for a single collection item on a dynamic item page.

> **Notes:**
>
> * In the Wix Harmony Editor, you can't connect a gallery to your whole collection to show an image from every item. You can [vote to connect a gallery to your collection in Wix Harmony](https://support.wix.com/en/article/wix-harmony-editor-feature-request-connecting-a-gallery-to-your-collection-2).
> * You can connect the Wix Gallery to a 'Media Gallery' field inside a repeater or on an item page. Learn more about [connecting the Wix Gallery to a 'Media Gallery' field in Wix Harmony](https://support.wix.com/en/article/wix-harmony-editor-connecting-the-wix-gallery-to-a-media-gallery-field).

---

## Step 1 | Create a CMS collection

Create a multiple item collection for storing the images you want to show in the gallery. Add an image field type and text fields for the image titles, descriptions and alt text. Then add the images and values for each item in the collection. If needed, you can adjust the collection permissions from their default 'Show content' setting that allows anyone to view the content.

### To create a collection for storing gallery images:

**Wix Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Click **CMS** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/f0656688-8ed1-488a-888d-62373b7c3a3c/2021/07/13/be1f7f18-9356-4c33-b010-192982c912e9/59fd7aba-c990-4d61-ab3d-ad7d2e1cce16.png) on the left side of the editor.
3. Click **Create Collection**.
4. Click **Start from scratch**.  
**Tip:** Alternatively, click **Create with AI** to [let AI (Artificial Intelligence) create a collection for you](https://support.wix.com/en/article/cms-creating-a-collection-using-ai).
5. Click **Next**.
6. Enter a name for your collection.
7. (Coding only) Enter a collection ID to use in your code.
8. Leave **Multiple item collection (Default)** selected and click **Create**.
9. Add fields to your collection manually or by importing a CSV file:  
   * **Add fields manually:** Click **+ Add Field** to begin [adding fields to your collection manually](https://support.wix.com/en/article/cms-formerly-content-manager-adding-a-field-to-a-collection).  
   * **Import a CSV file:** Click **Import CSV file** to [upload a CSV file to your collection](https://support.wix.com/en/article/cms-formerly-content-manager-importing-content-into-a-collection).

> **Tip:** Make sure to add an 'Image' field type to store images for each item. You can also add 'Text' field types for use as the image titles, descriptions and alt text.

1. Add items to your collection:  
   1. Click **+ Add Item**.  
   2. Add content about the item to each relevant field.  
   3. Repeat this step to create as many items as you need.

![A screenshot of adding an item in a CMS collection.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/11/08/69cf1497-e5d4-4415-9f34-c7d21b1b95eb/e7b21630-6650-4d80-899d-e82b85496c65.png)

1. Set the [collection permissions](https://support.wix.com/en/article/cms-changing-your-collection-permissions):  
   1. Click **More Actions** and select **Permissions & privacy**.  
   2. Choose which permissions you want the collection to have:  
         * **Show content:** Allow everyone or only site members to view the collection content on your live site. Admins and [collaborators with CMS access](https://support.wix.com/en/article/cms-formerly-content-manager-creating-custom-roles-and-permissions) always have full access to view, add, update, or delete collection items.  
         * **Collect content:** Allow everyone or only site members to add new items to the collection from your live site with [input elements](https://support.wix.com/en/article/cms-creating-a-custom-form-with-input-elements-that-submit-to-your-collection) or API. Also, specify who can view the content. Admins and collaborators with CMS access always have full access to view, add, update, or delete collection items.  
         * **Advanced:** Set custom permissions for each user role to control who can view, add, update, or delete collection content. Admins and collaborators with CMS access have full access. However, you can set permissions for specific collaborator roles to restrict their access to the collection.  
   3. Click **Save**.

![Screenshot of setting collection permissions.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2025/03/21/517b4d7b-bf52-4bcb-b63f-7c3539dc4300/52bf22f0-a48b-4fe9-94f5-8cadabfa994d.png)

**Studio Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Click **CMS** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/07/18/c6258392-fdef-4a6b-8b85-1149e3260153/ab886b0a-e79c-4664-bea2-56ac47af29cb.png)on the left side of the editor.
3. Click **Create Collection**.
4. Click **Start from scratch**.  
**Tip:** Alternatively, click **Create with AI** to [let AI (Artificial Intelligence) create a collection for you](https://support.wix.com/en/article/cms-creating-a-collection-using-ai).
5. Click **Next**.
6. Enter a name for your collection.
7. (Coding only) Enter a collection ID to use in your code.
8. Leave **Multiple item collection (Default)** selected and click **Create**.
9. Add fields to your collection manually or by importing a CSV file:  
   * **Add fields manually:** Click **+ Add Field** to begin [adding fields to your collection manually](https://support.wix.com/en/article/cms-formerly-content-manager-adding-a-field-to-a-collection).  
   * **Import a CSV file:** Click **Import CSV file** to [upload a CSV file to your collection](https://support.wix.com/en/article/cms-formerly-content-manager-importing-content-into-a-collection).

> **Tip:** Make sure to add an 'Image' field type to store images for each item. You can also add 'Text' field types for use as the image titles, descriptions and alt text.

1. Add items to your collection:  
   1. Click **+ Add Item**.  
   2. Add content about the item to each relevant field.  
   3. Repeat this step to create as many items as you need.

![A screenshot of adding an item in a CMS collection.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/11/08/69cf1497-e5d4-4415-9f34-c7d21b1b95eb/e7b21630-6650-4d80-899d-e82b85496c65.png)

1. Set the [collection permissions](https://support.wix.com/en/article/cms-changing-your-collection-permissions):  
   1. Click **More Actions** and select **Permissions & privacy**.  
   2. Choose which permissions you want the collection to have:  
         * **Show content:** Allow everyone or only site members to view the collection content on your live site. Admins and [collaborators with CMS access](https://support.wix.com/en/article/cms-formerly-content-manager-creating-custom-roles-and-permissions) always have full access to view, add, update, or delete collection items.  
         * **Collect content:** Allow everyone or only site members to add new items to the collection from your live site with [input elements](https://support.wix.com/en/article/cms-creating-a-custom-form-with-input-elements-that-submit-to-your-collection) or API. Also, specify who can view the content. Admins and collaborators with CMS access always have full access to view, add, update, or delete collection items.  
         * **Advanced:** Set custom permissions for each user role to control who can view, add, update, or delete collection content. Admins and collaborators with CMS access have full access. However, you can set permissions for specific collaborator roles to restrict their access to the collection.  
   3. Click **Save**.

![Screenshot of setting collection permissions.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2025/03/21/517b4d7b-bf52-4bcb-b63f-7c3539dc4300/52bf22f0-a48b-4fe9-94f5-8cadabfa994d.png)

**Dashboard:**

1. [Go to CMS](https://www.wix.com/my-account/site-selector/?buttonText=Go%20to%20CMS&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https://www.wix.com/dashboard/%7B%7BmetaSiteId%7D%7D/database/) in your site's dashboard.
2. Click **Create Collection**.
3. Click **Start from scratch**.  
**Tip:** Alternatively, click **Create with AI** to [let AI (Artificial Intelligence) create a collection for you](https://support.wix.com/en/article/cms-creating-a-collection-using-ai).
4. Click **Next**.
5. Enter a name for your collection.
6. (Coding only) Enter a collection ID to use in your code.
7. Leave **Multiple item collection (Default)** selected and click **Create**.
8. Add fields to your collection manually or by importing a CSV file:  
   * **Add fields manually:** Click **+ Add Field** to begin [adding fields to your collection manually](https://support.wix.com/en/article/cms-formerly-content-manager-adding-a-field-to-a-collection).  
   * **Import a CSV file:** Click **Import CSV file** to [upload a CSV file to your collection](https://support.wix.com/en/article/cms-formerly-content-manager-importing-content-into-a-collection).

> **Tip:** Make sure to add an 'Image' field type to store images for each item. You can also add 'Text' field types for use as the image titles, descriptions and alt text.

1. Add items to your collection:  
   1. Click **+ Add Item**.  
   2. Add content about the item to each relevant field.  
   3. Repeat this step to create as many items as you need.

![A screenshot of adding an item in a CMS collection.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/11/08/69cf1497-e5d4-4415-9f34-c7d21b1b95eb/e7b21630-6650-4d80-899d-e82b85496c65.png)

1. Set the [collection permissions](https://support.wix.com/en/article/cms-changing-your-collection-permissions):  
   1. Click **More Actions** and select **Permissions & privacy**.  
   2. Choose which permissions you want the collection to have:  
         * **Show content:** Allow everyone or only site members to view the collection content on your live site. Admins and [collaborators with CMS access](https://support.wix.com/en/article/cms-formerly-content-manager-creating-custom-roles-and-permissions) always have full access to view, add, update, or delete collection items.  
         * **Collect content:** Allow everyone or only site members to add new items to the collection from your live site with [input elements](https://support.wix.com/en/article/cms-creating-a-custom-form-with-input-elements-that-submit-to-your-collection) or API. Also, specify who can view the content. Admins and collaborators with CMS access always have full access to view, add, update, or delete collection items.  
         * **Advanced:** Set custom permissions for each user role to control who can view, add, update, or delete collection content. Admins and collaborators with CMS access have full access. However, you can set permissions for specific collaborator roles to restrict their access to the collection.  
   3. Click **Save**.

![Screenshot of setting collection permissions.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2025/03/21/517b4d7b-bf52-4bcb-b63f-7c3539dc4300/52bf22f0-a48b-4fe9-94f5-8cadabfa994d.png)

---

## Step 2 | Connect a pro gallery to your collection

Add a pro gallery to your site and connect it to a dataset that binds to your collection fields. Then connect the gallery's image sources to your collection's image field. You can also connect the titles, descriptions and alt text to fields in your collection. Use the 'Links connect to' drop-down to link the items to their dynamic item pages, or to a 'URL', 'Image', or 'Video' field.

**Wix Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Go to the page where you want a gallery to display images representing different collection items.
3. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/65d5031a-8d20-483c-b08f-0a758e1cf2fd/68a0236f-77f4-43c6-931f-8298ae691a9e/2022/11/17/01f24c8b-2ea3-4d06-a26d-9975a43d617e/a79e245b-4870-4444-ba82-248eca4eb9a7.png) on the left side of the editor.
4. Click **Gallery**.
5. Click and drag the pro gallery you want to use onto the page.

![Screenshot of adding a pro gallery in the Wix Editor.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/10/04/8e81bf06-61aa-4124-a32d-13a54b6cbda9/ddf13f87-9022-44c2-bd3b-f730ed4b74c3.png)

1. Remove the default images from the gallery:  
   1. Click **Manage Media** on the gallery.  
   2. Click **Select All**, then click **Delete**.  
   3. Click **Done**.
2. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png).
3. Click the **Choose a dataset** drop-down and select an existing dataset that connects to your collection. Alternatively, select **Add a Dataset**, then choose the collection you want to connect.
4. Click the relevant drop-downs to connect your collection fields to the gallery:  
   * **Image sources connect to:** Select the 'Image' field you want to display.  
   * **Titles connect to:** Select the field you want to use for the image titles.  
   * **Descriptions connect to:** Select the field you want to use for the image descriptions.  
   * **Alt texts connect to:** Select the field you want to use for the image alt texts.  
   * **Links connect to:** Select the dynamic page, 'URL' field, or 'Image' field you want to link the images to.

![Screenshot of the dataset connection options for a gallery.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/11/08/72284be0-d473-4931-85d4-06a276f04468/96be2798-dbeb-43d4-b70c-97233e87b0f2.png)

1. Click the gallery and select **Settings** to customize your gallery's layout, design, and more. Learn more about [customizing your pro gallery](https://support.wix.com/en/article/wix-pro-gallery-customizing-the-gallery-settings).

**Studio Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Go to the page where you want a gallery to display images representing different collection items.
3. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/06/14/cef22a14-dfc9-43c7-a54f-72ed83266050/741248d2-4240-497e-a282-2a7d15d8afac.png) on the left side of the editor.
4. Click **Media**.
5. Click **Pro Galleries**.
6. Click and drag the pro gallery you want to use onto the page.
7. Remove the default images from the gallery:  
   1. Click the gallery element and select **Manage Media**.  
   2. Click **Select All**, then click **Delete**.  
   3. Click **Done**.
8. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png).
9. Click the **Choose a dataset** drop-down and select an existing dataset that connects to your collection. Alternatively, select **Add a Dataset**, then choose the collection you want to connect.
10. Click the relevant drop-downs to connect your collection fields to the gallery:  
   * **Image sources connect to:** Select the 'Image' field you want to display.  
   * **Titles connect to:** Select the field you want to use for the image titles.  
   * **Descriptions connect to:** Select the field you want to use for the image descriptions.  
   * **Alt texts connect to:** Select the field you want to use for the image alt texts.  
   * **Links connect to:** Select the dynamic page, 'URL' field, or 'Image' field you want to link the images to.

![Screenshot of the dataset connection options for a gallery.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/11/10/d34e737d-a716-4b38-a6c3-3ab0f6d11b4c/9788b9dd-cbe8-4da0-9c7f-c367a72fbd1d.png)

1. Click the gallery and select **Settings** to customize your gallery's layout, design, and more. Learn more about [customizing your pro gallery](https://support.wix.com/en/article/studio-editor-adding-and-customizing-the-pro-gallery#customizing-the-pro-gallery-settings).

---

## Step 3 | Manage the dataset settings

Go to the dataset settings to set the total items that can load at a time, filter certain items from appearing, sort the order in which the items display, or change the dataset mode. Set the mode to 'Read & Write' if you plan on letting visitors update the gallery's connected collection items.

**Wix Editor:**

1. Go to the gallery's connected dataset settings:  
   1. Click the gallery.  
   2. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) .  
   3. Click **Dataset Settings** in the **Connect Gallery** panel on the right.
2. (Optional) Click the [permission type](https://support.wix.com/en/article/cms-collection-permissions-overview) next to **Permissions** to determine who can view, add, update, or delete collection content.
3. (Optional) Click the **Dataset name** field if you need to edit the name of the dataset.
4. (Velo only) Click the **Dataset ID** field to edit the ID used to identify the dataset in your page's code.
5. Click the **Dataset mode** drop-down and select the relevant option:  
   * **Read:** Connected elements can read and display content from your collection. The elements cannot modify the collection content.  
   * **Read & Write:** Connected elements can display content from your collection. [Input elements](https://support.wix.com/en/article/cms-about-user-input-elements) can add or edit content in your collection.
6. Edit the **Items per load** field to set the [maximum number of items that can load at a time](https://support.wix.com/en/article/cms-changing-the-maximum-items-displayed-in-your-dataset-settings).  
**Note:** This is also the maximum number of items that can load when visitors click 'Load More' buttons, 'Next/Previous page' buttons, or pagination bars. See the next section for steps.

![Screenshot of the items per load dataset setting.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/12/04/c85a1e89-ff8a-4f14-abdd-213e4d83c1fb/93f68828-c6ce-4fc9-b1d2-0663f68dcaeb.png)

1. (Optional) Click **+ Add Filter** to [only show specific items](https://support.wix.com/en/article/cms-formerly-content-manager-adding-filters-and-sorts-to-datasets-to-control-live-site-content#adding-filters-to-your-dataset-to-exclude-items-from-your-page) in the gallery.
2. (Optional) Click **+ Add Sort** to [choose the order in which collection items appear](https://support.wix.com/en/article/cms-formerly-content-manager-adding-filters-and-sorts-to-datasets-to-control-live-site-content#adding-sort-conditions-to-your-dataset-to-sort-the-items-on-your-page) in the gallery.

**Studio Editor:**

1. Go to the gallery's connected dataset settings:  
   1. Click the gallery.  
   2. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) .  
   3. Click **Dataset Settings** in the **Connect Gallery** panel.

![Screenshot of going to the dataset settings.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/12/04/5e785399-4787-4faa-bafe-ee78eb448d38/ad2d7c07-d1ed-4699-9037-c1b2f7ef9481.png)

1. (Optional) Click the [permission type](https://support.wix.com/en/article/cms-collection-permissions-overview) next to **Permissions** to determine who can view, add, update, or delete collection content.
2. (Optional) Click the **Dataset name** field if you need to edit the name of the dataset.
3. (Velo only) Click the **Dataset ID** field to edit the ID used to identify the dataset in your page's code.
4. Click the **Dataset mode** drop-down and select the relevant option:  
   * **Read:** Connected elements can read and display content from your collection. The elements cannot modify the collection content.  
   * **Read & Write:** Connected elements can display content from your collection. [Input elements](https://support.wix.com/en/article/cms-about-user-input-elements) can add or edit content in your collection.
5. Edit the **Items per load** field to set the [maximum number of items that can load at a time](https://support.wix.com/en/article/cms-changing-the-maximum-items-displayed-in-your-dataset-settings).  
**Note:** This is also the maximum number of items that can load when visitors click 'Load More' buttons, 'Next/Previous page' buttons, or pagination bars. See the next section for steps.

![Screenshot of the items per load dataset setting.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/12/04/4de8c697-c7d7-4e79-9067-6fe00a6a71cc/be5080e0-de39-46f6-9a44-6d8955634671.png)

1. (Optional) Click **+ Add Filter** to [only show specific items](https://support.wix.com/en/article/cms-formerly-content-manager-adding-filters-and-sorts-to-datasets-to-control-live-site-content#adding-filters-to-your-dataset-to-exclude-items-from-your-page) in the gallery.
2. (Optional) Click **+ Add Sort** to [choose the order in which collection items appear](https://support.wix.com/en/article/cms-formerly-content-manager-adding-filters-and-sorts-to-datasets-to-control-live-site-content#adding-sort-conditions-to-your-dataset-to-sort-the-items-on-your-page) in the gallery.

---

## Step 4 | (Optional) Create 'Load More' or navigational buttons

You can improve your page's loading performance by adding a 'Load More' button if you have a lot of collection items. Your dataset's ['Items per load' field](https://support.wix.com/en/article/cms-changing-the-maximum-items-displayed-in-your-dataset-settings) can be set as high as 1000 items. It controls how many items can initially load in your gallery, and how many additional items can load when visitors click the 'Load More' button.

  
 This field also determines the number of items displayed per 'page' in your gallery if you connect 'Next/Previous page' buttons or a pagination bar.

**Wix Editor:**

Choose what you want to do:

**Create a 'Load More' button**

1. Add a button to your page:  
   1. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/65d5031a-8d20-483c-b08f-0a758e1cf2fd/68a0236f-77f4-43c6-931f-8298ae691a9e/2022/11/17/01f24c8b-2ea3-4d06-a26d-9975a43d617e/a79e245b-4870-4444-ba82-248eca4eb9a7.png) on the left side of the editor.  
   2. Click **Button**, then drag the button onto your page where you want it to appear (e.g. below the gallery). Do not place the button on top of the gallery.  
   **Tip:** Alternatively, you can add an image and use it as your 'Load More' button.
2. Click **Change Text** and enter the text you want to display on the button (e.g. "Load More").
3. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) .
4. Click the **Choose a dataset** drop-down and select the same dataset that connects to your gallery.
5. Click the **Click action connects to** drop-down and select **Load more**.  
![A screenshot of the Connect Button panel with Click action connects to set to Load more.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/06/04/af097a61-1741-47df-a80d-19d8f19e16f5/5d135cfd-9457-477a-b8b9-237103e5905f.png)
6. Click the button and select the **Design** icon ![](https://d2eyqiy4n03ve6.cloudfront.net/12345678-1234-1234-1234-1234567890ab/2015/08/03/974c50b4-3472-4fd0-b0eb-bf70636220c6.png) to customize the appearance of your 'Load More' button.
7. Click **Preview** to test your 'Load More' button.
8. Click **Publish** if you are ready to make the changes go live.

**Create 'Next Page' and 'Previous Page' buttons**

1. Add a 'Next Page' button to your page:  
   1. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/65d5031a-8d20-483c-b08f-0a758e1cf2fd/68a0236f-77f4-43c6-931f-8298ae691a9e/2022/11/17/01f24c8b-2ea3-4d06-a26d-9975a43d617e/a79e245b-4870-4444-ba82-248eca4eb9a7.png) on the left side of the editor.  
   2. Click **Button**, then drag the button onto your page where you want it to appear (e.g. below the gallery). Do not place the button on top of your gallery.  
   **Tip:** Alternatively, you can add an image and use it as your 'Next Page' button.
2. Click **Change Text** and enter the text you want to display on the button (e.g. "Next Page").
3. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) .
4. Click the **Choose a dataset** drop-down and select the same dataset that connects to your gallery.
5. Click the **Click action connects to** drop-down and select **Next page**.  
![A screenshot of the Connect Button panel with Click action connects to set to Next page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/05/16/54c07bef-f481-43bb-a1a5-42eb82c92da7/de122989-da65-4ac0-b4a4-9b81f6d3cf53.png)
6. Click the button and select the **Design** icon ![](https://d2eyqiy4n03ve6.cloudfront.net/12345678-1234-1234-1234-1234567890ab/2015/08/03/974c50b4-3472-4fd0-b0eb-bf70636220c6.png) to customize the appearance of your 'Next Page' button.
7. Duplicate your 'Next Page' button:  
   1. Right-click the button (**control** + click on Mac).  
   2. Select **Duplicate** (or press **Ctrl** + **D** or **⌘** + **D** on Mac).
8. Click and drag the button where you want it to appear. Do not place it on top of your gallery.
9. Click **Change Text** and enter the text you want to display on the button (e.g. "Previous Page").
10. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) .
11. Click the **Click action connects to** drop-down and select **Previous page**.  
![A screenshot of the Connect Button panel with Click action connects to set to Previous page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/05/16/58fc564f-ed57-43e3-986b-6a89860a5fed/b32f1450-f7ea-45e7-9164-05b9fc13710e.png)
12. Click **Preview** to test your 'Next Page' and 'Previous Page' buttons.
13. Click **Publish** if you are ready to make the changes go live.

**Connect a pagination bar**

**Note:** Pagination bars are not relevant for static pages or dynamic item pages that can only display 1 item at a time. 

  
1. Add a pagination bar:  
   1. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/65d5031a-8d20-483c-b08f-0a758e1cf2fd/68a0236f-77f4-43c6-931f-8298ae691a9e/2022/11/17/01f24c8b-2ea3-4d06-a26d-9975a43d617e/a79e245b-4870-4444-ba82-248eca4eb9a7.png) on the left side of the editor.  
   2. Click **Interactive**.  
   3. Click **Pagination Bar**.  
   4. Click and drag the pagination bar you want to use onto the page.
2. Click **Change Layout** to adjust the layout.
3. Click the **Design** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/05/16/ebda988c-8e40-498c-8789-d488529358a3/bf963d2b-54da-4fba-ac90-527dcd1358cf.png) on the pagination bar to edit the design.
4. Click the **Connect to CMS** icon![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/59ef43fb-880d-46b2-bdce-82e4aaffaaec/2020/07/04/49602af9-3e86-4883-9ae4-a88f13ea85c9/d7fb62f6-ed05-401e-ac3f-6a0f5ce4b20f.png).
5. Click the **Choose a dataset** drop-down and select the same dataset that connects to your gallery.  
![A screenshot of the Connect Pagination panel with a dataset selected.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/06/04/4ba1d7b6-f022-4306-9914-130ce63b9182/712db933-229d-41e1-b772-7ee04f1de05f.png)
6. Click and drag the edges of your pagination bar to resize it.
7. Click **Preview** to test your pagination bar.
8. Click **Publish** if you are ready to make the changes go live.

  
 View a full tutorial on [adding and setting up a pagination bar](https://support.wix.com/en/article/cms-adding-and-setting-up-a-pagination-bar).

**Studio Editor:**

> **Important accessibility consideration:** If you add a 'Load More' button in the Studio Editor, make sure that any elements you want to place below the gallery, including the 'Load More' button, are attached to a separate section. Otherwise, the elements will overlap when the 'Load More' button is clicked. Learn more [accessibility best practices for the CMS](https://support.wix.com/en/article/accessibility-best-practices-for-the-cms#studio-editor-only-attaching-elements-to-separate-sections-when-using-load-more-buttons).

Choose what you want to do:

**Create a 'Load More' button**

1. Add a button to your page:  
   1. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/06/14/cef22a14-dfc9-43c7-a54f-72ed83266050/741248d2-4240-497e-a282-2a7d15d8afac.png) on the left side of the editor.  
   2. Click **Button**, then drag the button onto your page where you want it to appear (e.g. below the gallery). Do not place it on top of your gallery.  
   **Tip:** Alternatively, you can add an image and use it as your 'Load More' button.
2. Click **Change Text** and enter the text you want to display on the button (e.g. "Load More").
3. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) .
4. Click the **Choose a dataset** drop-down and select the same dataset that connects to your gallery.
5. Click the **Click action connects to** drop-down and select **Load more**.  
![A screenshot of the Connect Button panel in the Studio Editor with Click action connects to set to Load more.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/05/28/0ef1e501-761e-4728-bdb1-07bf0d58cece/1e1e2869-1126-47b0-a570-53068d7ea647.png)
6. Click the button and select the **Design** tab ![](https://d2eyqiy4n03ve6.cloudfront.net/12345678-1234-1234-1234-1234567890ab/2015/08/03/974c50b4-3472-4fd0-b0eb-bf70636220c6.png) from the Inspector panel to [customize the appearance of your 'Load More' button](https://support.wix.com/en/article/studio-editor-adding-and-customizing-buttons#customizing-basic-buttons).
7. Click the **Preview** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/07/12/45e03e4e-437b-4067-977e-869c3ff1ddd7/357065e4-6113-4838-9dbd-edc880533773.png) at the top right to test your 'Load More' button.
8. Click **Publish** if you are ready to make the changes go live.

**Create 'Next Page' and 'Previous Page' buttons**

1. Add a 'Next Page' button to your page:  
   1. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/06/14/cef22a14-dfc9-43c7-a54f-72ed83266050/741248d2-4240-497e-a282-2a7d15d8afac.png) on the left side of the editor.  
   2. Click **Button**, then drag the button onto your page where you want it to appear (e.g. below the gallery). Do not place it on top of your gallery.  
   **Tip:** Alternatively, you can add an image and use it as your 'Next Page' button.
2. Click **Change Text** and enter the text you want to display on the button (e.g. "Next Page").
3. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) .
4. Click the **Choose a dataset** drop-down and select the same dataset that connects to your gallery.
5. Click the **Click action connects to** drop-down and select **Next page**.  
![A screenshot of the Connect Button panel in the Studio Editor with Click action connects to set to Next page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/06/04/0825b079-d133-451d-96c2-dfe8fb9877e5/c4e6ecf7-4798-4be1-85f7-695d3816233d.png)
6. Click the button and select the **Design** tab ![](https://d2eyqiy4n03ve6.cloudfront.net/12345678-1234-1234-1234-1234567890ab/2015/08/03/974c50b4-3472-4fd0-b0eb-bf70636220c6.png) from the Inspector panel to [customize the appearance of your 'Load More' button](https://support.wix.com/en/article/studio-editor-adding-and-customizing-buttons#customizing-basic-buttons).
7. Duplicate your 'Next Page' button:  
   1. Select the button.  
   2. Press **Ctrl** + **D** on your keyboard(or **⌘** + **D** on Mac).
8. Click and drag the button where you want it to appear. Do not place it on top of the gallery.
9. Click **Change Text** and enter the text you want to display on the button (e.g. "Previous Page").
10. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) .
11. Click the **Click action connects to** drop-down and select **Previous page**.  
![A screenshot of the Connect Button panel in the Studio Editor with Click action connects to set to Previous page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/06/04/965386f1-22f4-4cd8-ad26-4aede8952109/9edae4b4-3701-4a74-9e17-b13ea49d9360.png)
12. Click the **Preview** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/07/12/45e03e4e-437b-4067-977e-869c3ff1ddd7/357065e4-6113-4838-9dbd-edc880533773.png) at the top right to test your 'Next Page' and 'Previous Page' buttons.
13. Click **Publish** if you are ready to make the changes go live.

**Connect a pagination bar**

**Note:** Pagination bars are not relevant for static pages or dynamic item pages that can only display 1 item at a time. 

  
1. Add a pagination bar:  
   1. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/06/14/cef22a14-dfc9-43c7-a54f-72ed83266050/741248d2-4240-497e-a282-2a7d15d8afac.png) on the left side of the editor.  
   2. Click **Menu & Search** and select **Pagination Bars**.  
   3. Click and drag the pagination bar you want to add onto the page.
2. Customize the [settings, layout and design of the pagination bar](https://support.wix.com/en/article/cms-adding-and-setting-up-a-pagination-bar#step-1-add-and-customize-a-pagination-bar).
3. Click the **Connect to CMS** icon![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/59ef43fb-880d-46b2-bdce-82e4aaffaaec/2020/07/04/49602af9-3e86-4883-9ae4-a88f13ea85c9/d7fb62f6-ed05-401e-ac3f-6a0f5ce4b20f.png).
4. Click the **Choose a dataset** drop-down and select the same dataset that connects to your gallery.
5. Adjust the size of your pagination bar by stretching it or adjusting the borders manually:  
   * **Stretch to width:** Click the **Stretch** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/2016/03/28/04715d15-290b-4470-ad58-6549f805986a.png) to expand the width of the bar to the edges of the site.  
   * **Manually:** Click and drag the edges of your pagination bar to resize it.
6. Click the **Preview** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/07/12/45e03e4e-437b-4067-977e-869c3ff1ddd7/357065e4-6113-4838-9dbd-edc880533773.png) at the top right to test your pagination bar.
7. Click **Publish** if you are ready to make the changes go live.

  
 View a full tutorial on [adding and setting up a pagination bar](https://support.wix.com/en/article/cms-adding-and-setting-up-a-pagination-bar).

---

## FAQs

Click below for answers to the most frequently asked questions about connecting a gallery to the CMS.

**How can site visitors filter the content that appears in the gallery?**

To let site visitors filter the gallery content, connect input elements such as dropdowns or radio buttons to the same dataset that connects to your gallery. View a step-by-step tutorial for [allowing visitors to filter content with input elements](https://support.wix.com/en/article/cms-formerly-content-manager-setting-up-filters-for-site-visitors-using-input-elements).

**Can I set the gallery image links to open when clicked?**

By default, [expand mode](https://support.wix.com/en/article/wix-pro-gallery-customizing-the-expand-mode-for-your-gallery) opens when visitors click an image in a pro gallery. In expand mode, the image displays in an enlarged window with the title, description, and link on the side. Visitors can then click the link to go to the destination you set in the gallery's connection options ([see Step 2 | Connect a pro gallery to your collection](https://support.wix.com/en/article/cms-displaying-collection-content-in-a-pro-gallery#step-2-connect-a-pro-gallery-to-your-collection)). 

  
 If you prefer, you can disable expand mode and set the gallery to open the links when visitors click the images. 

  
 To set the links to open when visitors click images in the gallery:

1. Click the pro gallery element in your editor and select **Settings**.
2. Click **Settings** on the left.
3. Click the drop-down under **Gallery Settings** and select **A link opens**.

![A screenshot of the Wix Pro Gallery settings with When clicking on an item set to A link opens.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/11/17/0159b201-bab8-443c-a401-9cf1c2a85322/cf7fd768-dd93-4efc-b8d4-9b613e5ca021.png)

**What are the CMS connection options for this gallery?**

The connection options allow you to specify how different parts of the gallery link to specific fields in the collection.

  
 Connect the following options to collection fields: 

* **Image sources connect to:** The images you want to display in the gallery.
* **Titles connect to:** The fields used for each item's title in the gallery.
* **Descriptions connect to:** The fields used for each item's description in the gallery.
* **Alt texts connect to:** The fields used for each item's alt text in the gallery.
* **Links connect to:** The fields or dynamic pages you want to link each item to.

**Why doesn't my pro gallery's 'Load More' button respond to the dataset settings?**

The pro gallery has a built-in 'Load More' button that can restrict the number of media items displayed in the gallery.

  
 If you enable this 'Load More' button in the gallery's layout settings, it uses these settings to determine when to appear and how many more images load. With the gallery's built-in 'Load More' button, the dataset's **Items per load** setting determines the aggregate total maximum items that can load in the gallery. However, it no longer determines how many items initially load in the gallery or how many additional items load when visitors click this 'Load More' button.  
![Screenshot of enabling the Pro Gallery's built-in Load More button settings.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/07/08/c0663c28-74dc-46ad-b1e5-56789f7defa6/c247847e-c1be-4578-96b5-4a812fd07b00.png) 

  
 Consider the [type of collection field](https://support.wix.com/en/article/cms-formerly-content-manager-supported-content-in-collection-field-types) your gallery connects to when deciding which 'Load More' button to use: 

* **'Image' field type:** If your gallery connects to an 'Image' field used to display only 1 image per collection item, create a 'Load More' button that connects to the dataset.
* **'Media Gallery' field type:** If your [gallery connects to a 'Media Gallery' field](https://support.wix.com/en/article/cms-connecting-the-media-gallery-collection-field-type-to-a-pro-gallery) used to display several images per collection item, use the gallery's built-in 'Load More' button. Learn how to enable the 'Load More' button in the [pro gallery's custom layout settings](https://support.wix.com/en/article/wix-pro-gallery-changing-the-layout-settings#custom-layouts).
