ASSET_THUMBNAIL_URL
Last updated
Was this helpful?
Last updated
Was this helpful?
The function ASSET_THUMBNAIL_URL takes a Detailed Asset and returns the URL of the thumbnail of the Asset.
This function takes a as input. It returns a containing the URL of the thumbnail of the Asset.
detailed_asset (required, type: ) Any Detailed Asset. Note that a is a subcategory of an , and that the ASSET_THUMBNAIL_URL function will not accept a general Asset as input, only a Detailed Asset.
thumbnail_url(type: )
The URL that leads to the thumbnail of the given Detailed Asset.
Assume the example has access to the following Detailed Asset, detailed_asset:
The following example takes the Detailed Asset defined above and returns its state. Note that this matches the value of the thumbnailUrl property given above: