r1 - 2010-03-20 - 07:12:11 - ProjectContributorYou are here:Foswiki>System Web>Macros>VarICONURLPATH
editattachsettingsACLs

add
print raw
historyrenamedelete
children new

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
Topic revision: r1 - 2010-03-20, ProjectContributor
 
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