getImage: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added version.)
m (Fixing wikilink)
Line 2: Line 2:
|name=getImage
|name=getImage
|version=1.3b48
|version=1.3b48
|description=Returns the [[asset id]] for the image of an [[Token:Image Token]].  
|description=Returns the [[asset id]] for the image of an [[Image Token]].  


|usage=
|usage=

Revision as of 08:53, 24 July 2011

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>