IWL::Image - an image widget
IWL::Error -> IWL::Object -> IWL::Widget -> IWL::Image
The Image widget provides a wrapper for the <img> markup tag.
IWL::Image->new ([%ARGS])
Where %ARGS is an optional hash parameter with with key-values corresponding to the attributes that a regular <img> markup would have.
IWL::Image->newFromStock (STOCK_ID, [%ARGS])
Where STOCK_ID is the IWL::Stock id.
Fires when the image has finished loading
Set sets the given source for the image widget.
Parameters: SRC - the source for the image
Sets the alternative text of the image
Parameters: TEXT - the text to be set
Sets the image from the stock id
Parameters: STOCK_ID - the stock id, SIZE - optional size ['small']
Returns the URL of the image
Returns the alternative text of the image
Copyright (c) 2006-2008 Viktor Kojouharov. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install IWL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IWL
CPAN shell
perl -MCPAN -e shell install IWL
For more information on module installation, please visit the detailed CPAN module installation guide.