picture (Domino DTD)

Represents a picture or an image in rich text.

Containment Hierarchy

Contained by: <imagemap>, %richtext.nonhot.inline;

Contains: <border>, %image.formats;, <imageref>, <caption>, <nativeimage>

Syntax

<!ELEMENT picture ( border?, ( %image.formats; | imageref | nativeimage ) caption?, code* )>

Content

border?, ( %image.formats; | imageref | nativeimage ) ,  caption?, code*

Contains an optional <border> element, followed by any one of the image formats, a reference to an image, or a native image, an optional <caption> element, followed by any number of <code> elements.

Attributes

<!ATTLIST picture

height

%pixels;

#IMPLIED

width

%pixels;

#IMPLIED

scaledheight

%length;

#IMPLIED

scaledwidth

%length;

#IMPLIED

alttext

%tstring;

#IMPLIED

align

%picture.aligns;

"baseline"

>

align

Defines the alignment of a picture in a rich text field. The options are defined in the %picture.aligns; entity.

alttext

Translatable text description of the image that defines the image's content for computers with image rendition turned off or for screen-reading devices.

height

Height of the image (in pixels).

scaledheight

Height after scaling the image. You can scale on the PictureInfo tab of the Picture Properties box.

scaledwidth

Width after scaling the image.

width

Width of the image (in pixels)

Defined entity for <picture> element

The %picture.aligns; entity defines how to wrap text that displays with a picture.

Syntax:

<!ENTITY % picture.aligns " around | left | right | bottom | middle | top | baseline ">

around

Wraps the text around the image, wherever it is situated within the text.

baseline

Does not wrap the text, but aligns the end of the image with the beginning of the current line of text.

bottom

Does not wrap the text, but aligns the end of the image with the end of the current line of text.

left

Wraps the text, floating the image to the left of the text.

middle

Does not wrap all the text, but inserts the picture in the middle of the current line of text.

right

Wraps the text, floating the image to the right of the text.

top

Does not wrap the text, but aligns the end of the image with the beginning of the current line of text.

Example