From: Eric S. Raymond Date: Sat, 28 Jun 1997 14:13:25 +0000 (+0000) Subject: Don't hack percent sizes. X-Git-Tag: 1.6~3 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=65783f79bd03e0ba42bdbb09fd32041f6fa2a519;p=imgsizer.git Don't hack percent sizes. --- diff --git a/imgsizer.xml b/imgsizer.xml index 3ab9331..300b29c 100644 --- a/imgsizer.xml +++ b/imgsizer.xml @@ -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