htp on-line reference : IMG

table of contents
  Introduction
  Usage
  Files
  Concepts
  HTP Tags
   ALTTEXT
   BLOCK
   BLOCKDEF
   DEF
   FILE
   IF
   INC
   IMG
   OPT
   OUTPUT
   QUOTE
   SET
   UNDEF
   UNSET
   USE, $
   WHILE
   <!---
  History
  Wish list
  Bugs

syntax

<IMG SRC="filename">

synopsis

IMG 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.

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

At this time, only GIF (Graphic Interchange Format) and JFIF (JPEG File Interchange Format) are supported.

The IMGXY and NOIMGXY options control whether or not htp actually adds this information as it executes.

htp can also add default ALT text to IMG tags using ALTTEXT.

htp project

htp homepage

hosted by
SourceForge.net Logo

htp on-line reference / http://htp.sourceforge.net/ref/
Authors: Jim Nelson, Jochen Hoenicke, Michael Möller.
Maintainers: Jochen Hoenicke, Michael Möller.

Copyright © 1995-96 Jim Nelson.
Copyright © 2001-2002 Jochen Hoenicke, Michael Möller.
Permission to reproduce and distribute this hypertext document granted according to terms described in the Introduction

last updated Mon May 27, 2002