Log In | Users | Register
%SITEMAPWHAT%
Edit | Attach | New | Raw | Delete | History | Subscribe | Print | Tools
You are here: System » Macros » VarICONURLPATH

ICONURLPATH{"name" default="name"} -- URL path of small documentation graphic or icon

  • Generates the relative URL path of a DocumentGraphics image, typically used in an HTML img tag. Specify image name or full filename (see ICON for details on filenames.)
  • Syntax: %ICONURLPATH{"name"}%
  • Examples:
    • %ICONURLPATH{"locktopic"}% returns /pub/System/DocumentGraphics/locktopic.png
    • %ICONURLPATH{"eggysmell.xml"}% returns /pub/System/DocumentGraphics/xml.png
    • %ICONURLPATH{"/doc/xhtml.xsl"}% returns /pub/System/DocumentGraphics/xsl.png
  • Related: ICONURL, ICON, DefaultPreferences, FileAttachments, DocumentGraphics
spacer
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
Syndicate this site RSS ATOM