%IMAGE{"Westminstpalace.jpg" type="frame" align="none" caption="caption text"}%
. This is the syntax you should use to update images that used the original image markup of the form %IMAGE{"Westminsterpalace.jpg|caption"}%
.
%IMAGE{"Westminstpalace.jpg|alt text"}%
. This is rendered inline, and the specified text is used as the image's ''alt'' attribute (alternate text for programs which cannot display images, such as screen readers) and as the ''title'' attribute (supplementary text, often displayed as a tool tip when the mouse is over the image).
%IMAGE{"Westminstpalace.jpg" type="thumb" size="100" align="left" caption="The Palace of Westminster"}%
shown in the left), several options can be set when including an image. Those affect the placing of the image, its size or the way the image will be presented. The options are right
, left
, center
, none
, _size_px
, thumbnail
(thumb
), frame
, and _alternate (caption) text_
.
%IMAGE{"Westminstpalace.jpg" type="thumb" size="200" align="right" caption="From the Thames"}%
(shown on the right).
%IMAGE{"Westminstpalace.jpg" align="right" size="70"}%
(shown on the right). %IMAGE{"Westminstpalace.jpg" align="left" size="70"}%
(shown on the left). %IMAGE{"Westminstpalace.jpg" align="center" size="70"}%
(shown above). %IMAGE{"Westminstpalace.jpg" align="none" size="70"}%
(shown above). %IMAGE{"Westminstpalace.jpg|right|50px|"}%
shown on the right). Height is computed to keep aspect ratio (image)|aspect ratio (i.e. the shape of the image).%IMAGE{"Westminstpalace.jpg" type="thumbnail" align="left" size="100"}%
(shown on the left) and %IMAGE{"Westminstpalace.jpg" type="thumb" caption="The Palace of Westminster"}%
(shown on the right).%IMAGE{"Tst.png" align="right" type="thumb" size="100" caption="This is a globe, and take a look at it in nested"}%
(shown on the right).
left
, center
, and none
, the image is normally on the right %IMAGE{"Westminstpalace.jpg" type="frame" size="50" caption="The Palace of Westminster"}%
.
text text text text text text =%IMAGE{"Westminstpalace.jpg" size="150" caption="The Palace of Westminster"}%= text text text text text =%IMAGE{"Tst.png" size="100" caption="This is a globe."}%= text text text textgives text text text text text text
<br style="clear:both" />For legacy
align="right"
(etc.) floating this
isn't good enough, legacy browsers would ignore inline
CSS. To cancel floating under all conditions the
following markup (valid XHTML 1.0 transitional) works
<br clear="all" />The same code can be issued by using template %IMAGE{"clear"}%
%IMAGE{":STS-32_crew.jpg|STS-32 crew"}%
which yields
STS-32_crew.jpg
![]() |
STS-32_crew.jpg (48.42K)
Saved by install script
version 1 uploaded by AdminUser on 12 Feb 2010 - 23:22
|
![]() |
Westminstpalace.jpg (19.33K)
Saved by install script
version 1 uploaded by AdminUser on 12 Feb 2010 - 23:22
|