# Adding gallery to repeater in EditorX?

**URL:** <https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926>\
**Category:** Ask the community\
**Tags:** wix-studio, code\
**Created:** [March 29, 2022, 2:56am UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926 "2022-03-29T02:56:26Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![JessCK](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/jessck/32/81287_2.png) [@JessCK](https://forum.wixstudio.com/u/JessCK)\
**Post date:** [March 29, 2022, 2:56am UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926/1 "2022-03-29T02:56:26Z")

</div>

I see that it’s currently impossible to add a Pro-Gallery to a repeater in EditorX, but apparently it **was** possible to add a non-pro gallery to repeaters in the Wix editor (https://www.wix.com/velo/forum/coding-with-velo/simple-example-of-gallery-in-repeater).**Are there any EditorX updates in works to either (1) add a pro-gallery directly to a repeater, or (2) add non-pro gallery options to EditorX that we can attach to repeaters?**

OR has anyone figured out a velo workaround to creating a dynamic gallery within a repeater? TBH, it seems like such a waste to have a ‘media gallery’ field-type within our collections that allows for multiple image/file uploads, but then we can’t actually add these multiple media files to a repeater!

Example: as of now we can add pro-Galleries to a dynamic (item) page but not directly into repeaters on the dynamic (all) page

---

<div class="post-metadata">

**Author:** ![Rob](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/rob/32/84134_2.png) [@Rob](https://forum.wixstudio.com/u/Rob)\
**Post date:** [March 29, 2022, 3:58pm UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926/2 "2022-03-29T15:58:09Z")

</div>

Will forward the feedback to the team but don’t think there would be an option for since repeaters can’t be added to repeaters nor can galleries be added.

As you mentioned you can attach a gallery to a pro gallery on the dynamic item page.

 ![](https://us1.discourse-cdn.com/wix/original/3X/2/3/23360124a8333b5dbcc22fc6926060c1f6bf4998.jpeg)

---

<div class="post-metadata">

**Author:** ![Vasili\_Pasioudis](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/vasili_pasioudis/32/35892_2.png) [@Vasili\_Pasioudis](https://forum.wixstudio.com/u/Vasili_Pasioudis)\
**Post date:** [January 10, 2023, 9:17am UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926/3 "2023-01-10T09:17:07Z")

</div>

Yes, I too want the ability to add pro gallery within repeater

---

<div class="post-metadata">

**Author:** ![Rob](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/rob/32/84134_2.png) [@Rob](https://forum.wixstudio.com/u/Rob)\
**Post date:** [January 11, 2023, 1:41pm UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926/4 "2023-01-11T13:41:37Z")

</div>

Thank you for the feedback and it’s been collected.

---

<div class="post-metadata">

**Author:** ![fabwiktor](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/fabwiktor/32/85568_2.png) [@fabwiktor](https://forum.wixstudio.com/u/fabwiktor)\
**Post date:** [January 13, 2023, 1:15pm UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926/5 "2023-01-13T13:15:18Z")

</div>

Yes please, would be amazing to get some form of gallery into a repeater. Or at least a way to populate multiple image placeholders in a repeater through one field in the database (similar to the media gallery field).  
Would definitely be a major upgrade for photography pages with dynamic pages, that don’t have the same amount of content on each of the pages.  
Anything like that possible at all?

---

<div class="post-metadata">

**Author:** ![corey](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/corey/32/10813_2.png) [@corey](https://forum.wixstudio.com/u/corey)\
**Post date:** [February 3, 2023, 6:55am UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926/6 "2023-02-03T06:55:49Z")

</div>

so confusing…why is it even an option as a field in the collections if I can’t actually use it in this way. Super frustrating.

---

<div class="post-metadata">

**Author:** ![Rob](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/rob/32/84134_2.png) [@Rob](https://forum.wixstudio.com/u/Rob)\
**Post date:** [February 3, 2023, 2:00pm UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926/7 "2023-02-03T14:00:35Z")

</div>

As mentioned below, you can use the media gallery field to connect to a gallery.

 ![](https://us1.discourse-cdn.com/wix/original/3X/6/d/6df337528cd078bec311e8066fbc8a8e458ba277.jpeg)

---

<div class="post-metadata">

**Author:** ![evesilberx](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/evesilberx/32/34338_2.png) [@evesilberx](https://forum.wixstudio.com/u/evesilberx)\
**Post date:** [February 19, 2023, 10:20am UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926/8 "2023-02-19T10:20:20Z")

</div>

Hey @fabwiktor , check out my new tutorial, this could be a nice workaround for you:

[![](https://us1.discourse-cdn.com/wix/original/3X/0/9/093a509fc52ab70bcc6137a4c0378ed00c565a4c.jpeg "Editor X tutorial: Create a repeater in a repeater in an online store") ](https://www.youtube.com/watch?v=nuL08QSW4Aw)

---

<div class="post-metadata">

**Author:** ![evesilberx](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/evesilberx/32/34338_2.png) [@evesilberx](https://forum.wixstudio.com/u/evesilberx)\
**Post date:** [February 19, 2023, 10:22am UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926/9 "2023-02-19T10:22:11Z")

</div>

Anyone who needs a workaround for a repeater in a repeater or gallery in a repeater item, check out my new tutorial:

[![](https://us1.discourse-cdn.com/wix/original/3X/0/9/093a509fc52ab70bcc6137a4c0378ed00c565a4c.jpeg "Editor X tutorial: Create a repeater in a repeater in an online store") ](https://www.youtube.com/watch?v=nuL08QSW4Aw)

---

<div class="post-metadata">

**Author:** ![fabwiktor](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/fabwiktor/32/85568_2.png) [@fabwiktor](https://forum.wixstudio.com/u/fabwiktor)\
**Post date:** [February 19, 2023, 11:38am UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926/10 "2023-02-19T11:38:33Z")

</div>

Hey @evesilberx ! Awesome tutorial, I’ll try it out and see if it works for my use case. I’d be using a mosaic for the layouter. Haven’t tried it yet, but with the collapsed items, that doesn’t automatically rearrange the mosaic tiles to fit the height/width, right?

---

<div class="post-metadata">

**Author:** ![evesilberx](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/evesilberx/32/34338_2.png) [@evesilberx](https://forum.wixstudio.com/u/evesilberx)\
**Post date:** [February 21, 2023, 9:20am UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926/11 "2023-02-21T09:20:23Z")

</div>

Thanks @fabwiktor ! If I am understanding correctly, using the mosaic layout might rearrange the height/width depending on how you set up the items’ measurements. Play around with the layouter to see how you can get the result you are looking for. If you’d like to keep the images’ original ratio you can change the image settings:

 ![](https://us1.discourse-cdn.com/wix/original/3X/d/0/d0257ceb7fd11a020a8989b300fce2d7d8777a3b.jpeg)

I would also try using the “Bricks” layout as another option:

 ![](https://us1.discourse-cdn.com/wix/original/3X/c/2/c2622a83470f09b36993f01ac40ba1fa7ede741c.png)

Let me know how it goes!

---

<div class="post-metadata">

**Author:** ![fabwiktor](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/fabwiktor/32/85568_2.png) [@fabwiktor](https://forum.wixstudio.com/u/fabwiktor)\
**Post date:** [February 22, 2023, 11:07pm UTC](https://forum.wixstudio.com/t/adding-gallery-to-repeater-in-editorx/49926/12 "2023-02-22T23:07:42Z")

</div>

Cool, thanks a lot Eve! I tried it – but as I’m mixing portrait and landscape format images it becomes a bit of a mess as the layouter only allows one item per line. The goal would be to recreate the collage style Pro Gallery where images are resized automatically, but I guess that’s a bit too far fetched for this workaround, right?

 ![](https://us1.discourse-cdn.com/wix/original/3X/e/5/e56dd2d313a2ed0c4cd9b56352c063600c577e42.jpeg)
