12 Icons and Images
■Images can be included in an <option> element, if the extension DTD is being used.
This will allow an icon to be displayed on the same line as a menu item.
Example
<option onpick="my_url"><img localsrc="envelope" src="" alt=""/>Email</option>
Example
■When delivering a deck that calls images, consider the use of a digest so that the image is displayed when the card has finished loading.
This will load the deck and image simultaneously. The maximum digest size must be less than the MAX PDU, which is device specific but is approximately 2000 bytes.
This technique is also useful for
Nokia Im ag e Suppor t
■The maximum display size for an image is 96 x 44 pixels.
■Images are centred and displayed with nothing else on the line.
Images wider than 96 pixels are left aligned and cropped on the right. Images longer than 44 pixels are sometimes scrollable, depending on the other content of the card. A link immediately below a tall picture can mean that it is not possible to see all of the picture.
6210/6250 handsets (and the 7110 with a browser model 5.00 or later) left align the image rather than centring it.
Mitsubishi Trium Imag e Suppor t
■Images can be displayed inline (along with text or a link).
Example
<img src="envelope.wbmp" alt=""/>Email</option>
Example
■Ensure that the alt tag deck has meaning when image support is disabled by the user.
The alt text will show in angle brackets – for example <test>
■The gif image format is supported.
66 Genie Application Style Guide | February 2001 |