Image
Image is used to represent an individual image of any of the formats (JPEG, PNG)
Format
HTML
<img src="http://test.com/image.jpg"
data-title="Some image caption"
data-image-attribution="some image attribution"
data-alt-text="some alt text">
JSON
{
"type": "image",
"subtype": null,
"url": "foobar",
"title": "Some image caption",
"image-attribution": "some image attribution",
"alt-text": "some alt text",
"description": "",
"link-url": null
}
Schema
Key | Type |
---|---|
type | String, Value should be image |
subtype | Value should be null |
url | String |
title | String |
description | String |
link-url | String |