- Get started
- Structure
- Body Elements
- Objects
Renders an image gallery.
Optional parameters are indicated as "(Optional)".
Parameter | Meaning | Notes |
---|---|---|
type (string) | The type of body element. |
|
data (object)
|
The data of the element. |
|
{
"type": "gallery",
"data": {
"images": [
{
"url": "https://fbwcdn.com/image/main/connectedweb/showcase/image2.jpg",
"width": 1920,
"height": 1080
},
{
"url": "https://fbwcdn.com/image/main/connectedweb/showcase/image3.jpg",
"width": 1920,
"height": 1080
},
{
"url": "https://fbwcdn.com/image/main/connectedweb/showcase/image4.jpg",
"width": 1920,
"height": 1080,
"caption": "Infinite and more."
},
{
"url": "https://fbwcdn.com/image/main/connectedweb/showcase/image5.jpg",
"width": 1920,
"height": 1080
}
]
}
}