getImage

From RPTools Wiki
Revision as of 10:59, 22 August 2012 by Wolph42 (talk | contribs)
Jump to navigation Jump to search

getImage() Function

Introduced in version 1.3b48
Returns the asset id for the image of an Image Token.

Usage

getImage(name)

Example

To display the image from an image token called "image:Map" you can do the following
<img src="[r: getImage('image:Map')]"></img>


see also: getTokenImage (which you can give the size as parameter)