- COPYRIGHT AND LICENSE
Statocles::Image - A reference to an image
my $img = Statocles::Image->new( src => '/path/to/image.jpg', alt => 'Alternative text', );
This class holds a link to an image, and the attributes required to render its markup. This is used by documents to associate images with the content.
The source URL of the image. Required.
The text to display if the image cannot be fetched or rendered. This is also the text to use for non-visual media.
If missing, the image is presentational only, not content.
The width of the image, in pixels.
The height of the image, in pixels.
A hash of arbitrary data available to theme templates. This is a good place to put extra structured data like image credits, copyright, or location.
Doug Bell <firstname.lastname@example.org>
This software is copyright (c) 2016 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.