HAWHAW XML ReferenceVersion 1.9


<img>


Down  Summary
Down  Attributes
Down  Example
Down  See also

Summary
Displays an image inside of <deck>, <form>, <a>, <phone> or <td> elements.
 
Attributes
src (optional) - URL of image in GIF, PNG or WBMP format. If required, the HAWHAW proxy performs an automatic format conversion, before the appropriate image is sent to the detected browser:
GIF -> GIF, PNG, WBMP
PNG -> PNG, WBMP
WBMP -> PNG, WBMP
Note: Automatic image format conversion is an optional feature and will not be supported by all HAWHAW proxies.
wbmp URL of image in WAP-conform .wbmp format. (Only required in case of missing "src" attribute)
html URL of image in .gif, .png or any other HTML compatible format. (Only required in case of missing "src" attribute)
html_width width of HTML image in pixels (optional)
html_height height of HTML image in pixels (optional)
alt Alternative text for image. Will be displayed if the client can display none of your graphic formats.
bmp (optional) - URL of image in monochrome .bmp format. If the browser signals in the HTTP request header, that he's only able to display image/bmp and not image/vnd.wap.wbmp, this image will be sent.
br number of line breaks after image (default: 0)
localsrc (optional) - Use localsrc attribute on WAP/HDML devices. Using built-in icons, mobile devices don't have to download bitmap images. If the device can not render the specified icon, it will download the according image as specified by the "src/wbmp/bmp" attribute.
chtml_icon (optional) - Use cHTML icon instead of HTML bitmap on iMode devices. Using built-in icons, mobile devices don't have to download bitmap images. Has no effect on non-iMode devices.
mml_icon (optional) - Use MML icon instead of HTML bitmap on MML devices. Using built-in icons, mobile devices don't have to download bitmap images. Has no effect on non-MML devices.
 
Example

... <deck> <text>Welcome to</text> <img src="http://wap.foo.com/logo.gif" alt="FOO"/> <img wbmp="http://wap.bar.com/icon.wbmp" html="http://wap.bar.com/icon.gif" bmp="http://wap.bar.com/icon.bmp" alt="FOO" localsrc="heart" chtml_icon="63889" mml_icon="GB"/> </deck> ...
 
See also
<deck> <form> <td> <a> <phone> <voice_text>
 
last update: 27.07.2008HAWHAW - Keep on laughing!