
Image Support
Issue 1 April 2005 173
Images can be a part of a link and be selectable. An image inside an <a> or an <anchor> tag
can be selected to activate a <go> task. For information see Anchor Elements
.
The browser follows the WML 1.3 specs which allow images to be used as hyperlinks. The img
element can be contained within the following elements: a, anchor, p and do tags for softkeys.
All supported images can have up to 3 Mbytes of volatile memory per WML file. Images cannot
be partially parsed. If the memory size requirement is met and the size of the full image is less
than 3 MB or the available memory, images larger than 96 lines are truncated by the graphic
engine at the 96th line.
The browser processes images successfully as long as the upper limit of 3 Mbytes is not
reached. The browser checks for sufficient memory as image processing starts. If sufficient
memory to process the entire image is not found, the image’s alternate text displays instead of
the actual image. For example, there are ten images, the first four of which use 1.5 Kbytes. But
the fifth
image is 2.0 Mbytes, and the browser does not have sufficient memory to process that
image. The browser will continue to process the next image if sufficient memory for that is
available. The browser displays a page with first four images, then an image for which the
alternate text is displayed, followed by the sixth image and so on. Alternate text is displayed
only for those images where:
● the browser could not successfully parse the image file because of memory limitations,
● the image could not be found on the server (404 error), or
● the image file is corrupt.
When an image tag exists inside a <do> tag, and it results in a failed attempt to retrieve the
image through http, the <do> tag’s label attribute value (text) displays on the softkey label.
Image Justification
Image area
0 pixel
0 pixel
0 pixel
0 pixel
Komentarze do niniejszej Instrukcji