IMG Tag

From AgileApps Support Wiki
Revision as of 22:25, 17 February 2012 by imported>Aeric (Created page with "__NOINDEX__ ;IMG tag: :<tt><nowiki>IMG</nowiki></tt><u><b>{$</b></u>''objectName''<u>.</u>''imageFieldName''<u><b>}</b></u><tt></tt> where: :* '''objectName -''' The name of the…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
IMG tag
IMG{$objectName.imageFieldName}

where:

  • objectName - The name of the current object. (This variable is in Template:Velocity format. The object name effectively creates a namespace, ensuring that there is no conflict with another variable that might have the same name.)
  • imageFieldName - The name of the field in the current record that contains the image to display, joined to the object name by a "dot" (.).

Warn.png

Important: The braces {...} and other underlined characters in this syntax are literals. Type them in exactly as shown.

Result
The URL for the image is inserted into the generated page. When viewed, the image is displayed.