img

HTML img tag.

Tag Information
Tag Class org.loom.tags.core.ImgTag
Body Content scriptless
Dynamic Attributes true
Example
<img action="File" param-file.id="${file.id}"/>
<img src="/foo/bar.gif"/>

Attributes

Name Description Flags
accesskey HTML attribute
rtexprvalue
action The action this link points to. Either this or src must be specified
rtexprvalue
align HTML attribute
rtexprvalue
alt HTML attribute
rtexprvalue
class HTML attribute
rtexprvalue
decorator The name of the decorator to use. The default decorators for any form field will display the surrounding label.
rtexprvalue
dir HTML attribute
rtexprvalue
event The event this link points to. If action is specified but event is not, the default event will be assumed. If the action does not define a default event, an exception will be thrown. Either action/event or src must be set.
rtexprvalue
id HTML attribute
rtexprvalue
if Set to false to skip tag execution.
rtexprvalue
lang HTML attribute
rtexprvalue
longdesc HTML attribute
rtexprvalue
mapping The mapping as action.event. This method is equivalent to setting action and event separately.
rtexprvalue
name HTML attribute with different meanings:
rtexprvalue
src HTML attribute The target url. Either this or the action / event pair must be set.
rtexprvalue
style HTML attribute
rtexprvalue
title HTML attribute
rtexprvalue
translateAlt true to translate the alt attribute, default true
rtexprvalue
translateTitle set to true to translate title, default true
rtexprvalue
usemap HTML attribute
rtexprvalue
vspace HTML attribute
rtexprvalue