NAME Mozilla::Mechanize::Image

Mozilla::Mechanize::Image - Mimic WWW::Mechanize::Image

SYNOPSIS

sorry, read the code for now

DESCRIPTION

The Mozilla::Mechanize::Image object is a thin wrapper around an image element. [more later]

METHODS

Mozilla::Mechanize::Image->new( $element )

Create a new object, that implements url, base, tag, height, width, alt, and name.

$image->url

Return the SRC attribute from the IMG tag.

$image->tag

Return 'IMG' for images.

$image->width

Return the value width attrubite.

$image->height

Return the value height attrubite.

$image->alt

Return the value alt attrubite.

COPYRIGHT AND LICENSE

Copyright 2005, Scott Lanning <slanning@cpan.org>. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

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.