To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 210
209  |  211
Subject: 
Re: Looking for util to set IMG size in HTML
Newsgroups: 
lugnet.off-topic.geek, lugnet.publish
Date: 
Thu, 8 Jul 1999 03:21:27 GMT
Viewed: 
647 times
  
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:
  Re: Looking for util to set IMG size in HTML
 
(...) 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: (URL) - jsproat (25 years ago, 6-Jul-99, to lugnet.off-topic.geek, lugnet.publish)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR