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. Thanks.
-----Original Message----- From: Dave Hodgkinson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 3:58 PM To: Bitton, David Cc: '[EMAIL PROTECTED]' Subject: Re: [Templates] Image sizing in img tags "Bitton, David" <[EMAIL PROTECTED]> writes: > List, > > ��� I'm not sure if I saw this or not, but can I iterate a folder of images, > and the produce IMG tags, with the size and width?� I know that I could drop > some Perl code into a template and use something like Image Magick, but is > there a module already there?� I would use this in conjunction with the table > module.� Tx :) I've got the bones of an Image::Info Plugin you can use... -- 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
