getImage: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Fixing wikilink)
No edit summary
Line 15: Line 15:
</source>
</source>
}}
}}
see also: [[getTokenImage]] (which you can give the size as parameter)
[[Category:Miscellaneous Function]]
[[Category:Miscellaneous Function]]

Revision as of 10:59, 22 August 2012

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)