<$mt:AssetLink$>

Returns HTML anchor tag for the asset in context. For example, if the URL of the asset is http://example.com/image.jpg, the tag returns <a href="http://example.com/image.jpg">image.jpg</a>.

Attributes:

  • new_window (optional; default "0")

    Specifies if the tag generates 'target="_blank"' attribute to the anchor tag.

Example:

    <$mt:AssetLink$>
This page was last updated on 2007-10-04, 01:31.

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.