]> thyrsus.com Git - imgsizer.git/commitdiff
Don't hack percent sizes.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 28 Jun 1997 14:13:25 +0000 (14:13 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 28 Jun 1997 14:13:25 +0000 (14:13 +0000)
imgsizer.xml

index 3ab93310c6f587e522a56247e1aeb176af46a518..300b29c2fe08b1b8b9539446f4b88f4bba3cf1dd 100644 (file)
@@ -1,9 +1,9 @@
-.TH IMGSIZER 1 "9 Oct 1996"
+.TH IMGSIZER 1 "28 Jul 1997"
 .AT 3
 .SH NAME
 imgsizer \- automatically splice in height and width params for HTML IMG tags
 .SH SYNOPSIS
-.B imgsizer [files]
+.B imgsizer [file...]
 .PP
 .SH DESCRIPTION
 The 
@@ -16,6 +16,11 @@ order to have each one's dimensions available so the next can be
 placed.  This generally allows text on the remainder of the page
 to load much faster.
 .PP
+This script will try create such attributes for any IMG tag that lacks
+them.  It will correct existing HEIGHT and WIDTH tags unless either
+contains a percent (%) sign, in which case the existing dimensuions
+are resumed to be relative and left unaltered.
+.PP
 This script may be called with no arguments.  In this mode, it filters
 HTML presented on stdin to HTML (unaltered except for added or
 corrected HEIGHT and WIDTH attributes) on stdout.  If called with file