Provided by: kaya_0.4.4-6ubuntu3_amd64 bug

NAME

       HTMLDocument::addImage - Add an image

SYNOPSIS

       ElementTree addImage( ElementTree block, ImageData image )

ARGUMENTS

       block The block to add to

       image The image to add

DESCRIPTION

       Append  the  image  to the block. See the HTMLDocument.ImageData (3kaya) documentation for
       more information about image definitions. Images require both  a  source  and  alternative
       text,  with  the  best  way  to select the alternative text being to consider the text you
       would use in this context  if  no  image  was  available.  (Many  decorative  images  will
       therefore have "" as their alternative text)

    p = addParagraph(parent,"Sponsored by ");
    logo = addImage(p,ImageData("logo.jpg","MegaCorp",Specified(100,18)));

AUTHORS

       Kaya  standard  library  by  Edwin Brady, Chris Morris and others (kaya@kayalang.org). For
       further information see http://kayalang.org/

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.

RELATED

       HTMLDocument.ImageData (3kaya)