CGI.imageHandler3kaya
Embed an image.
Usage
HTML imageHandler( Void(a) fn, a dat, String alt, Int width=-1, Int height=-1, String attribs="" )
Arguments
fn The image generating function
dat A parameter for the image generating function
alt The alternative text for the image
width The width of the image in pixels (optional)
height The height of the image in pixels (optional, but must be specified if width is specified)
attribs Additional image attributes (e.g. "title='Graph 1' id='gr1'" ) (this value is not filtered in any way, and so user-supplied data should not be used here).
Overview
Return the HTML to add an image to a page, where the image is generated by one of the functions in the CGI application.
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.