---
title: "How to add an image gallery to the product page"
description: "Use our Designer Extension template to add clickable thumbnails for your product's extra images"
url: https://help.cartgenie.com/en/articles/114-how-to-add-an-image-gallery-to-the-product-page
collection: "Store Pages FAQ"
updated: 2026-04-28
language: en
---

# How to add an image gallery to the product page

Use our Designer Extension template to add clickable thumbnails for your product's extra images

CartGenie makes it easy to add in a gallery of thumbnails underneath your main product images.

Here’s how…

## Step 1 - Add “Extra Images” to your products / variants

[Go to My Products](https://dash.cartgenie.com/products)

In your CartGenie products, upload images to the “Extra Images” section in the Basic Info tab.

You can also add gallery images to a product’s variants as well to have them displayed on the product page.

![](https://staticfiles.gleap.io/ghelparticle/L9BWScJbd9EXcb7gfYsvFsoTh72QDN3oDnSuZZAUcVofJEcmPE18jaljEJMGpOve62ZFHllq733.png)

> **Warning:** Note: The image gallery component cannot function properly unless you upload at least 1 image to the “Extra Images” field in your parent product Basic Info tab.

## Step 2 - Insert the Image + Gallery Component

> **Info:** Before completing this step, be sure you’ve already [set up your product page using this guide.](https://help.cartgenie.com/en/articles/10-creating-your-store-pages-in-webflow.md)

In Webflow, click on the App tab in the left menu and select “CartGenie.” Then go to Create Product Pages > Components > **Product section**.

Click on the “**Image + Gallery**”. This will open up 2 options.

Select your preference of either:

-   **Open Lightbox**
    
    -   If the main image or a thumbnail is clicked on your site, Webflow’s native lightbox will open in an overlay to display your images in a beautiful dark gallery.
        
-   **Swap Images**
    
    -   If a thumbnail is clicked, it will immediately take the place of the main large image.
        
    -   Note: When using this method, we recommend adding your primary image to the “extra images” slot as well in CartGenie so it can be selected again.
        

![](https://staticfiles.gleap.io/ghelparticle/Cgbg4UMgZsXepSIDi0PCVBTpRbB8VZG6ArqH3L1epj7tHB8Q4dAbO6SGF9dgi5mqMihvby8saFK.png)

![](https://staticfiles.gleap.io/ghelparticle/rUbCajvGRnX4SkW5VOZS4AOFbvWviUP1qNWC9BTEXnVU5BKOqrETbBTuIbL6QtuVvpAtJ9e0OqJ.png)

Then go into your **Products template** page.

**Delete the existing “cg-product-image-wrapper”** and paste in your new block. It should look something like this:

![](https://staticfiles.gleap.io/ghelparticle/BYdPHfLcRyAqxmSnnF9XjLDBgBJH8ppIM2qpqIM58LUIXtaVT8Xg84dpEUEbVRn4KCkX3PfGGt0.png)

* * *

## Step 3 (Lightbox Version) - Connect The Blocks to Your CMS Fields

_For the swap image version instructions,_ [_click here_](https://help.cartgenie.com/en/articles/114-how-to-add-an-image-gallery-to-the-product-page.md#heading-6-step-3-swap-image-version-connect-the-blocks-to-your-cms-fields) _(skip this section if you’re using the swap image version)_

Now, select each element below and connect it to the corresponding fields:

### **“cg-main-image" Layer**

In the layer settings panel on the right sidebar, connect:

-   Lightbox Media → Main Image
    
-   Image → Main Image
    
-   Alt Text (optional) → Name
    

_(Do not change the Group Name or else this will disconnect the lightbox)_

![](https://staticfiles.gleap.io/ghelparticle/7v4OgYOext8H1xakzMOiVAGblblsJkzLM9Ojq6msaeWhfbnGmjWOQwQEYqzx7InuBpzRQJ5RUbn.png)

> **Warning:** Note: Changing these class names might cause issues. So we highly recommend keeping the default class names and simply modifying the styling as needed

### **“cg-product-thumb-collection” Layer**

In the layer settings panel on the right sidebar, connect:

-   Source → More Images
    

![](https://staticfiles.gleap.io/ghelparticle/q98Ks62Z7H0O2VpE4LuqtiHQB6AnWLt0jpcOlTBIsZx5xc9xomfvEeinwPH1Ih6TOHJib4OrJQ9.png)

### “cg-product-thumb” Layer

In the layer settings panel on the right sidebar, connect:

-   Lightbox Media → More Images
    
-   Image → More Images
    

_(Do not change the Group Name or else this will disconnect the lightbox)_

![](https://staticfiles.gleap.io/ghelparticle/3K8JlI9Q6VeXlnBeNVqAWf2nvcZRSZ0yeL8QL1PykU74KFIXlxbSLRl6wOb7Iz8tCaWz7xCZ3Gi.png)

That’s it!

* * *

## Step 3 (Swap Image Version) - Connect The Blocks to Your CMS Fields

_For the lightbox version instructions,_ [_click here_](https://help.cartgenie.com/en/articles/114-how-to-add-an-image-gallery-to-the-product-page.md#heading-2-step-3-lightbox-version-connect-the-blocks-to-your-cms-fields) _(skip this section if you’re using the lightbox)_

Now, select each element below and connect it to the corresponding fields:

### **“cg-main-image" Layer**

In the layer settings panel on the right sidebar, connect:

-   Image → Main Image
    
-   Alt Text (optional) → Name
    

![](https://staticfiles.gleap.io/gattachments/F1rMTz6nssoNpLoURCRIMv23GjfbG6wvNmJsMMACINwA7AfXKEI1FzkppQe0UA7L2bSGYMh1hV9.png)

### **“cg-product-thumb-collection-wrap” Layer**

In the layer settings panel on the right sidebar, connect:

-   Source → More Images
    

![](https://staticfiles.gleap.io/gattachments/3EJBIjrBnOEKmkyyPlpOEewf0i122EgtkAyEqzaIkknkk84z1Ij1ki2EgzifAkNL8ewrfPSVaUg.png)

### “cg-product-thumb” Layer

In the layer settings panel on the right sidebar, connect:

-   Image → More Images
    

![](https://staticfiles.gleap.io/gattachments/MBxh8dhDVWDFSNzpPNtNcTJUFe22CO05ULmuhLupTl4HEnyUSLct8mUQzvgsThrMNcacZxvN7wt.png)

That’s it!

## Step 4 - Save and Publish!

Save and publish your Webflow site.

Your product page should now pull in the thumbnail image gallery beneath your primary product image.

![](https://staticfiles.gleap.io/ghelparticle/Ychk3WAfmLWu22AIhVNzDtMok58xXexQI9176UKP33w0x82hUVhzIYiADEvLBEuJShEHSbpXfAm.png)

If you click on the main image or one of the thumbnails, a lightbox will popup and display all of your product images together in a professional display.

(Or the images will just swap if that is the method you chose.)

![](https://staticfiles.gleap.io/ghelparticle/g4wDuS7CNWFH5KplxTyNWYaxDmaHXilUVcIIscUSvIGLIV4xbUiXCW6sJBzIXj5V864gpgTpmx2.png)

If you select a different variant on the product page which has its own main image and extra images gallery, it will switch out all of the images on the page.

![](https://staticfiles.gleap.io/ghelparticle/MSDVKnXFiP5Y002KyeuoALD2BGFViBlHO69VWBiEMuLGW8FG0dxvqusqPvtZjtVj1Uds0DOJtvi.png)
