AssetLink

Type: function

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 "<href="http://example.com/image.jpg">image.jpg</a>.

Attributes

  • new_window: Specifies if the tag generates 'target="_blank"' attribute to the anchor tag. Defaults to "0".

Example

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

Leave a note