HTP

Source code: ref/img.htp

Table of Contents
  htp.def
  macros.def
  htp.htt



<BLOCK syntax>
<img src="filename" ...>
</BLOCK>

<BLOCK synopsis>

<P> <STRONG>img</STRONG> is a standard HTML tag.  htp can add the specified
image's width and height to the tag automatically.  This has the advantage
of not having to determine each image's size manually, which is especially
useful if the image may change frequently. </P>

<P> htp adds this information with the WIDTH and HEIGHT markup
attributes.  If htp detects these attributes are already present in
the tag, it will <EM>not</EM> modify the values.  If htp cannot find
the image file, it will issue a warning but not halt processing. </P>

<P> At this time, GIF (Graphic Interchange Format), PNG (Portable
Network Graphics), and JFIF (JPEG File Interchange Format) are
supported. </P>

<P> The <A HREF="opt.html">IMGXY and NOIMGXY</A> options control
whether or not htp actually adds this information as it executes. </P>

<P> Since htp is able to lookup files in the local filesystem, only,
the <A HREF="imageurl.html">IMAGEURL</A> tag may be used to map URLs
to local files. </P>

<P> htp can also add default ALT text to IMG tags using
<A HREF="alttext.html">ALTTEXT</A>. </P>

</BLOCK>

  page source
  htp project
  htp homepage
hosted by
SourceForge.net
HTML coding Powered by htp
htp on-line reference / http://htp.sourceforge.net/ref/
Authors: Jim Nelson, Jochen Hoenicke, Michael Möller.
Maintainers: Jochen Hoenicke.

Copyright © 1995-96 Jim Nelson.
Copyright © 2001-2003 Jochen Hoenicke.
Permission to reproduce and distribute this hypertext document granted according to terms described in the License section.

last updated Tue Feb 22, 2011