Picture order in dynamic gallery

Hello, I created a gallery which takes the images and the links and title etc from a dataset

the problem is: the order of the images is displayed in ‘creation’ order, so the last picture I added to the dataset appears first in the gallery.

I created a text field in the dataset and put the images a number from 01 to infinity, and ordered the dataset utilizing that field, so the dataset is ordered by the custom order I want the pictures to have, but the gallery is still defined by the creation order and it doesn’t follow the custom order.

I need to know if there’s a code to give a custom order to the pictures of my gallery. thank you!!

1 Like