HTML::Widget::Plugin::Image - an image object
version 0.204
$widget_factory->image({ src => 'http://example.com/example.jpg', alt => 'An Example Image', });
This plugin provides a basic image widget.
provided_widgets
This plugin provides the following widgets: image
image
This method returns a basic image element.
In addition to the generic HTML::Widget::Plugin attributes, the following are valid arguments:
This is the source href for the image. "href" is a synonym for src. If no href is supplied, an exception is thrown.
This is the alt text for the image.
Ricardo SIGNES
This software is copyright (c) 2005 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install HTML::Widget::Factory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Widget::Factory
CPAN shell
perl -MCPAN -e shell install HTML::Widget::Factory
For more information on module installation, please visit the detailed CPAN module installation guide.