NAME

Perl6::Pod::Lib::Image - add image

SYNOPSIS

=Image t/image.jpg
=Image file:t/data/P_test1.png
=for Image :title('Test image title')
img/image.png

DESCRIPTION

The =Image block is used for include image link. For definition of the target file are used a URI:

=Image t/image.jpg
=Image file:../test.jpg
=Image http://example.com/img.jpg

For set title of image add attribute :title or define in Pod Link format:

=for Image :title('test caption')
t/data/P_test1.png
=for Image
test caption|t/data/P_test1.png

to_xhml

<img src="boat.gif" alt="Big Boat" title="Big Boat"/>

to_docbook

<mediaobject>
    <imageobject>
        <imagedata align='center' 
                    caption='test' 
                    format='PNG' 
                    valign='bottom' 
                    scalefit='1' 
                    fileref='t/data/P_test1.png' />
    </imageobject>
    <caption>test</caption>
 </mediaobject>

1 POD Error

The following errors were encountered while parsing the POD:

Around line 33:

=back without =over