"Bitton, David" <[EMAIL PROTECTED]> writes:
> After Randal L. Schwartz's reply, I started to look at the Image::Size CPAN
> module. What's neat about that is its ability to return the height and
> width in formatted HTML, height="600" width="800", that I could just plop
> into my output. So I though I'd write an Template::Plugin::Image::Size.
> I'd like to see the Image::Info plugin, perhaps it'd save me some time.
NAME
Image::Info - Extract meta information from image files
*stuff*
html_dim( $info_hash )
Returns the dimensions as a string suitable for embed�
ding directly into HTML <img>-tags. E.g.:
print "<img src="..." @{[html_dim($info)]}>\n";
--
Dave Hodgkinson, Wizard for Hire http://www.davehodgkinson.com
Editor-in-chief, The Highway Star http://www.deep-purple.com
Interim Technical Director, Web Architecture Consultant for hire