I have dynamic pages with slideshows populated from a row in my database. Each row is a new dynamic page. I followed this code to get the slideshow to work: https://www.wix.com/code/home/forum/community-discussion/resolvedrevisiting-a-theme-unique-slideshow-on-dynamic-page But with that code, I can specify a finite number of images in the slideshow. One of my dynamic pages could have 3 images, but another may have up to 10 depending on whats available in the database. If I set the number of sources for the images to 10, the dynamic page with 3 images will have a slideshow with 7/10 blank images.
Is there any way I can check for null fields in the dataset and limit the slideshow to be only the number of images that are available in the dataset for that row?