getImage

From RPTools Wiki
Revision as of 21:24, 1 December 2008 by Craig (talk | contribs) (New page: ==Function getImage== {{ProposedChange}} Returns the asset id for the image of an Token:image token. ===Usage=== <source lang="mtmacro" line> [h: asset = getImage(name)] </sourc...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function getImage

 Note: This refers to a proposed change that has not been implemented in the main code base yet.

Returns the asset id for the image of an image token.

Usage

[h: asset = getImage(name)]

Examples

To display the image from an image token called "image:Map" you can do the following

<img src="[r: getImage('image:Map')]></img>