image - Image
Displays an image.
Category
Core ControlsSyntax
<xp:image attributes>content</xp:image>| Property | Description |
|---|---|
| id | Defaults to image1, image2,
and so on. |
| for | Identifies the target control. |
| 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>