Hello everyone,
I have this "Do a search for which returns a list of images. I want all the list of images to reappear in the repeating group, like it is doubled. I tried “Merged with” operator and then Doing a search for the same list of things, but then it just returns as one list with the same number of contents, instead of doubling it as I wanted.
Is there any way to go about this?
Thanks!
Hey, I am quite intrigued by this question, so I gave it a try!
What I did was set the repeating group’s source to a List of Numbers, so I could control exactly how many items I wanted to display (like 10, 20, whatever). This repeating group doesn’t directly use the image data, it just gives me the count.
Then, inside each cell, I added another group that pulls from a hidden repeating group that holds my actual images (p1, p2, p3, etc.). That hidden RG has a data source like Search for Images
To get the right image in each visible cell, I used this little formula to loop through the images:
(((Current cell's index - 1) mod RepeatingGroup Image's List of Images:count) + 1)
Look through the demo and editor:
Demo
Editor
1 Like
Thank you so much!!!
This worked
I was trying to do an infinite carousel scroll, and I needed the images in the repeating group to duplicate multiple times. This was the part I couldn’t quite figure out. Thanks once again @thinkfort68