getImage
getImage() Function
• Introduced in version 1.3b48
Usage
getImage(name)
Parameters
name
- Token name. Note: Token ID is not allowed.
If identical token names appear on multiple maps, it may be difficult (or impossible) to select a specific token image using this function.
Example
To display the image from an image token called
image:Map
you can do the following:
<img src="[r: getImage('image:Map')]"></img>
Alternatively this can be used to retrieve a normal token:
<img src="[r: getImage('Dragon')]"></img>
See Also
getTokenImage (which you can give the size as parameter)