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

sorry, read the code for now

The Mozilla::Mechanize::Image object is a thin wrapper around an image element.

Initialize a new object. $image_node is a Mozilla::DOM::HTMLElement (or a node that can be QueryInterfaced to one); specifically, it must be an HTMLImageElement or an HTMLInputElement whose type="image".
$moz is a Mozilla::Mechanize object. This is optional and currently unused.
Return the SRC attribute from the IMG tag.
Return 'IMG' for images.
Return the value of the width attribute.
Only works for <img>.
Return the value of the height attribute.
Only works for <img>.
Return the value alt attrubite.

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.