image - Image

Displays an image.

Category

Core Controls

Syntax

<xp:image attributes>content</xp:image>
Table 1. Essential properties
Property Description
id Defaults to image1, image2, and so on.
for Identifies the target control.
Table 2. All properties
Category Properties
accessibility alt, role, title
basics attrs, binding, dir, id, ismap, lang, loaded, longdesc, rendered, rendererType, url, usemap, value
events onblur, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup
format height, width
styling disableTheme, style, styleClass, themeId

Usage

At runtime the image appears on the page.

Examples

Here an image is placed on the page.
<xp:image url="/sound.gif" id="image1" alt="Sound image"></xp:image>