Images and Pictures
This is a fairly small command that allows you to use
%IMG{"foo.gif"}% instead
of using HTML syntax. It allows specification of the standard attributes
as well as an optional
web=<web> and/or
topic=<topic>.
Tags:
Syntax Rules
- image name is mandatory, web and/or topic optional (defaulting to the current web and topic respectively
- Supports the img attributes 'align', 'border', 'height', 'width', 'id', and 'class
- Always puts in an alt tag with a value of '' if not specified. This is per XHTML spec.
| Argument |
Meaning |
Default |
Required |
name |
attachment name |
none |
yes |
web |
web name of the attachment |
current web |
no |
topic |
topic name of the attachment |
current topic |
no |
alt |
alternate text tag |
'' |
no |
caption |
caption to go with the image |
none |
no |
captionplacement |
one of right, left, top, bottom |
right |
no |
Examples
-
%IMG{"foo.gif"}%
-
%IMG{"foo.gif" topic="ADifferentTopic"}%
-
%IMG{"foo.gif" align="right"}%
This Topic Is Referenced By These Topics:
Related Links: HelpIndex
Was This Topic Useful to You?
Others rated this topic as shown. Please include your rating.
--
JimCrum - 20 Feb 2008
Topic revision: r2 - 06 Apr 2008 - 02:31:02 -
JimCrum