getImage: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Function getImage==
==Function getImage==
eturns the [[asset id]] for the image of the [[Token:Current Token|Current Token]].  
eturns the [[asset id]] for the image of an [[Token:Image Token]].  


===Usage===
===Usage===

Revision as of 15:39, 13 December 2008

Function getImage

eturns the asset id for the image of an Token: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>