I have created a database with multiple images (see screenshot 2). I have also created the dynamic item page with a media gallery on it. When I click the database icon to select “Images (Media Gallery)” its grayed out and I cannot connect (screenshot 1). Any ideas?
1 Like
I beleive you would have to connect it using the code here: https://www.wix.com/code/reference/$w.Gallery.html#items
eg retrieve the field using wixdata then set the gallery items property to the returned field:
let Gitems = result.items[0].imagesField;
$w("#myGallery").items = Gitems;
Did it workout with the code?