|
In article <37825EFA.4C63257C@geocities.com>, jsproat@geocities.com wrote:
> Sproaticus wrote:
> > I'm looking for a quick'n'dirty tool which will scan my HTML and modify the
> > IMG tags to properly reflect the image dimensions.
>
> Whoops, I found it. It was hiding on my C: drive. :-P
> The tool is called wwwis, it is written in Perl, and it can be found at:
> http://www.tardis.ed.ac.uk/~ark/wwwis/index.shtml
Fortunately, perl being perl, There's More Than One
Way To Do It.
I've used the Image::Size module for a while now. It's
a more generalized tool, using an OO interface to
the image info. (It was in fact derived from wwwis.)
One place it can be found:
http://theory.uwinnipeg.ca/CPAN/by-name/Image-Size.html
I use it to automagically generate the IMG SIZE data
for my web pages when I render my template files.
For example, the template to my homepage calls out:
{imageTag ("timshelley4.gif")}
and the rendering script creates:
<img width=188 height=229 src="Images/timshelley4.gif" border=0
alt="timshelley4.gif-22.2kb">
Anyway, I think it's worth a look.
-Tim
--
Tim and/or Shelley Rueger - rueger "at" io.com
WWW page: http://www.io.com/~rueger/
|
|
Message is in Reply To:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|