I think you are to fast, by providing a solution using a repeater.
If i would be you, i would first check all given possibilities in a …
a) ordinary-GALLARY
b) Wix-Pro-Gallary.
Which options do i have regarding the GALLERY and Wix-Pro-Gallary API ???
a) https://www.wix.com/velo/reference/$w/gallery
b) wix-pro-gallery-backend - Velo API Reference - Wix.com
Maybe it is worth to read first all about the wix-pro gallary first.
Like i always say → there are always many different solution-possibilities.
You even could generate your own CUSTOM-GALLARY → using a HTML-Component or Custom-Element, but this would go to far.
So, we will stay on the 3-current possibilities…
a) ordinary-GALLARY
b) Wix-Pro-GALLARY
c) REPEATER
Yes, you found currentItem → https://www.wix.com/velo/reference/$w/gallery/currentitem
Looks already promissing, don’t it?
Or this one…
You can GET / SET and ADD → ITEMS…
You can even get the GALLARIES CAPABILITIES…
I would say → first take a deeper look onto all given options, before trying to reconstruct a gallery by usage of a repeater.
EDIT: Some additional informations about gallaries…
- Randomizing ENTIRE image gallery - #6 by christopherb
- Autoplay for "Slider Gallery (Sphere)" - #2 by mrtobor
- Pass Dynamic Pro Gallery Dataset Item to Lightbox
- Expanding a pro gallery doesn't work - #8 by russian-dima
- Pro Gallery won't direct to dynamic page
- Problem Loading Dynamic Gallery - #24 by alinbaho
- …and some more…
I would collect all informations first.