.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "CGI.imageHandler" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" CGI::imageHandler \- Embed an image. .SH "SYNOPSIS" .B HTML imageHandler( \fIVoid(a) fn, a dat, String alt, Int width=-1, Int height=-1, String attribs=""\fP .B ")" .SH "ARGUMENTS" .PP .B "fn" The image generating function .PP .B "dat" A parameter for the image generating function .PP .B "alt" The alternative text for the image .PP .B "width" The width of the image in pixels (optional) .PP .B "height" The height of the image in pixels (optional, but must be specified if width is specified) .PP .B "attribs" Additional image attributes (e.g. \fI"title='Graph 1' id='gr1'"\fP ) (this value is not filtered in any way, and so user-supplied data should not be used here). .SH "DESCRIPTION" .PP Return the HTML to add an image to a page, where the image is generated by one of the functions in the CGI application. .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH LICENSE The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. .SH "RELATED" .PD 0 .PP .BR "Image(3kaya)" .PD 0.4v