# ImageSet
Cardscript
The ImageSet displays a collection of Images similar to a gallery.
# Example
{
"type": "AdaptiveCard",
"body": [
{
"type": "ImageSet",
"images": [
{
"type": "Image",
"url": "https://tymly.io/wp-content/uploads/2017/11/logo-tymly-main-colour.png",
"size": "medium"
},
{
"type": "Image",
"url": "https://tymly.io/wp-content/uploads/2017/11/logo-tymly-main-colour.png",
"size": "medium"
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}
# Required properties
# images
The array of Image
elements to show.
- Type:
array
# type
Must be "ImageSet"
.
- Type:
string
- Values:
ImageSet
# Optional properties
# imageSize
Controls the approximate size of the image. The physical dimensions will vary per host. Specify "auto"
for true image dimension, or "stretch"
to force it to fill the container.
- Type:
string
- Default:
"auto"
- Values:
auto
stretch
small
medium
large
# id
A unique identifier associated with the element.
- Type:
string
# spacing
Controls the amount of spacing between this element and the preceding element.
- Type:
string
- Values:
none
small
default
medium
large
extraLarge
padding
# separator
When true
, draw a separating line at the top of the element.
- Type:
boolean
# JSON Schema
{
"additionalProperties": true,
"type": "ImageSet",
"description": "The ImageSet displays a collection of Images similar to a gallery.",
"allOf": [
{
"$ref": "#/definitions/CardElement"
}
],
"properties": {
"images": {
"type": "array",
"description": "The array of `Image` elements to show.",
"items": {
"$ref": "#/definitions/Image"
}
},
"imageSize": {
"$ref": "#/definitions/ImageSize"
},
"type": {
"type": "string",
"description": "Must be `\"ImageSet\"`.",
"enum": [
"ImageSet"
]
}
},
"required": [
"type",
"images"
],
"typeSafe": "image-set",
"example": "FIXME!",
"propertySummary": [
{
"name": "images",
"type": "array",
"required": "Required",
"text": "The array of `Image` elements to show."
},
{
"name": "imageSize",
"required": "Optional"
},
{
"name": "type",
"type": "string",
"required": "Required",
"text": "Must be `\"ImageSet\"`."
}
]
}