internal package Foswiki::Render::IconImage

See Published API for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

StaticMethod render($session, $url [, $alt]) → $html

Generate the output for representing an 16x16 icon image. The source of the image is taken from $url. The optional $alt specifies an alt string.

re-written using TMPL:DEF{icon:image} in Foswiki.tmpl %TMPL:DEF{"icon:image"}%%ALT%%TMPL:END% see Skin Templates:base.css for the default of .foswikiIcon img

TODO: Sven's not sure this code belongs here - its only use appears to be the ICON macro

Topic revision: r1 - 21 Nov 2014, 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