NAME

HTML::Widget::Plugin::Image - an image object

VERSION

version 0.201

SYNOPSIS

$widget_factory->image({
  src => 'http://example.com/example.jpg',
  alt => 'An Example Image',
});

DESCRIPTION

This plugin provides a basic image widget.

METHODS

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:

src

This is the source href for the image. "href" is a synonym for src. If no href is supplied, an exception is thrown.

alt

This is the alt text for the image.

AUTHOR

Ricardo SIGNES

COPYRIGHT AND LICENSE

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.