Interface IAssetSources.IMemorySourceConfig.IUrlAsset
A structure defining links to images.
Package: @aurigma/design-editor-iframe
Examples
{
...
"categories": [
{
"name": "Stock images",
"assets": [
{
"title": "Winter",
"preview": "http://example.com/images/preview/16.jpg",
"source": "http://example.com/images/16.jpg"
},
{
"title": "Skating",
"preview": "http://example.com/images/preview/20.jpg",
"source": "http://example.com/images/20.jpg"
}
]
}
]
}
Properties
preview
A link to a thumbnail of this image.
Declaration
preview: string;
Property Value
| Type | Description |
|---|---|
| string | A link to a thumbnail of this image. |
source
A link to the full-size image.
Declaration
source: string;
Property Value
| Type | Description |
|---|---|
| string | A link to the full-size image. |
title
A title of this image. This title appears below the image.
Declaration
title: string;
Property Value
| Type | Description |
|---|---|
| string | A title of this image. This title appears below the image. |