imageresource (Domino DTD)

Represents an image resource. An image resource is an image file stored as a shared resource, enabling it to be used in more than one design element.

For more details, see Creating an image resource.

Containment Hierarchy

Contained by: %design.elements;

Contains: %named.design.note.prolog;, %image.formats;, %note.epilog;

Syntax

<!ELEMENT imageresource ( %named.design.note.prolog, , ( %image.formats; ), %note.epilog; )>

Content

%named.design.note.prolog, ( %image.formats; ), %note.epilog;

Contains any one of the contents of the %named.design.note.prolog;, %image.formats;, and %note.epilog; entities.

Attributes

<!ATTLIST imageresource

%named.design.note.attrs;

across

%integer;

"1"

down

%integer;

"1"

colorizegrays

%boolean;

"false"

browsercompatible

%boolean;

"false"

imagename

%string;

#IMPLIED

>

across

Number of images selected to create a horizontal image set.*

browsercompatible

Indicates whether the image resource is compatible with the user's browser.

colorizegrays

Indicates whether the coloring of the image resource should blend in with the color scheme of the user's operating system.

down

Number of images selected to create a vertical image set.*

imagename

Name of the image source file, if different from the image resource name stored in the name attribute of the %named.design.note.attrs; entity.

*Image sets are used in Notes to animate UI objects. For instance, you can create an image set made up of a dimmed button image and a bright blue button image. Add the grey image to a hotspot button and add a reference to the blue button image in the onMouseOver event code to change the button's appearance dynamically.