6.5.3 Subrepeats
You can add a repeat to a repeat via the element Repeat Subset, often called for short a subrepeat. This is often used to add as many images as you like to one entry in a repeat.
You first create two repeats and then add in the first repeat a Repeat Subset element that links the second repeat into the first repeat.
In the picture below we have first created the main repeat, Repeat 1, and then a second repeat for adding photos, Repeat 2. Then we have added a Repeat Subset element at the end of the first repeat, and in its Reference property entered the ID of the second repeat:
Repeat 2 is set to Hidden, but the added photos will show inside the first repeat. In the example below, we have added two photos in each repeat instance, but we could have added as many as needed. Or none. If Repeat 2 is not hidden, the photos will show both inside Repeat 1 and below it.