Pro Gallery allows 3 kind of items (image, video and text) using the “type”: “image”, “type”:“video” or “type”: “text” on item object.
There are examples inserting Image and Video item but there is no example for Text.
$w(‘#gallery1’).items = [{
“type”: “video”,
“alt”: “”,
“description”: “Desc”,
“title”: “Title”,
“height”: 720,
“width”: 1080,
“src”: ,
“link”: ,
“thumbnail”:
}]
I tried
{
“type”: “text”,
“alt”: “”,
“description”: “Desc”,
“title”: “Title”,
“height”: 720,
“width”: 1080,
“src”: “Some text here”,
“link”: ,
}
But nothing.