HTML imageHandler(Void(a) fn, a dat, String alt, Int width=-1, Int height=-1, String attribs="")
Arguments
fn: The image generating functiondat: A parameter for the image generating functionalt: The alternative text for the imagewidth: 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).
Usage
Return the HTML to add an image to a page, where the image is generated by one of the functions in the CGI application.