getImage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
To display the image from an [[Token:image token|image token]] called "image:Map" you can do the following | To display the image from an [[Token:image token|image token]] called "image:Map" you can do the following | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
<img src="[r: getImage('image:Map')]></img> | <img src="[r: getImage('image:Map')]"></img> | ||
</source> | </source> |
Revision as of 12:56, 13 December 2008
Function getImage
eturns the asset id for the image of the Current 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>