decorateThumbnail
FunctiondecorateThumbnail(item: IItem, portal: string, token?: string): IItemReturns the full thumbnail URL for an item.
Parameters
| Parameter | Type | Notes |
|---|---|---|
item | IItem | The item to decorate |
portal | string | The portal URL |
token | string | Optional token to append if the item is private |
Returns
IItemThe item with decorated thumbnail