internal package Foswiki::Render::IconImage

See PublishedAPI 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 SkinTemplates: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 - 02 Mar 2020, UnknownUser
© 2020 Ultranauts - 75 Broad Street, 2nd Floor, Suite 206, New York, NY 10004 - info@ultranauts.co