Image Gallery
Image Gallery is used to represent a set of images in the form of a gallery
Format
HTML
<div data-type="composite" data-subtype="image-gallery">
<img src=....
alt="Some image caption">
..............
</div>
JSON
{
"type": "composite",
"subtype": "image-gallery",
"metadata": {
"type": "slideshow"
},
"story-elements": [
{
"type": "image",
"subtype": null,
"title": "Some image caption",
"description": "",
"url": "https://test.com/image.jpg",
"link-url": null
},
{
"...": "..."
}
]
}
Schema
Key | Type |
---|---|
type | String, Value should be composite |
subtype | String, Value should be image-gallery |
metadata | Object |
story-elements | Array of Image Story Element Objects |
metadata
Key | Type |
---|---|
type | String, Value should be slideshow |