Image widget
Description
The ImageWidget allows for displaying an image within your DSL app. You can display an image on the web utilising the url or displaying a previously uploaded image.
Attributes
url
: String | null - External image url
mimeType
: String | null - Blob image mime type
blob
: String | null - Blob image data
width
: Number | null - Image width - if both width & height are null image will display full width/ height of page
height
: Number | null - Image height
caption
: String | null - Image caption
align
: String - left, center, right
allowZoom
: Boolean - Enable image modal / zoom
border
: Boolean - Apply a border
Â
{
"url": "/images/login-photos/login-hands-500x350.jpg",
"mimeType": null,
"blob": null,
"width": 500,
"height": 350,
"caption": "Behold! New life",
"align": "center",
"allowZoom": true,
"border": true
}