Hello Shlomi,
Thank you for the reply!
However, that function do not look fit what I am looking for. I need a thumbnail gallery. Could anyone help on this?
I wonder if it’s possible to amend this problem (hiding the empty sections in database) with the following code. So that I could at least arrange the order of images in gallery.
// Gallery:
let image1 = $w(“#dynamicDataset”).getCurrentItem().image001;
let image2 = $w(“#dynamicDataset”).getCurrentItem().image002;
let image3 = $w(“#dynamicDataset”).getCurrentItem().image003;
let image4 = $w(“#dynamicDataset”).getCurrentItem().image004;
let image5 = $w(“#dynamicDataset”).getCurrentItem().image005;
let image6 = $w(“#dynamicDataset”).getCurrentItem().image006;
let image7 = $w(“#dynamicDataset”).getCurrentItem().lifestyleimage;
$w(“#gallery”).items = [ { src: image2, },{ src: image1, },{ src: image3, },{ src: image4, },{ src: image5, }];