Polycom 1725-17693-210 Rev. A Image Tags, Following image tag is supported Img-Defines an image

Page 16

Developer’s Guide SoundPoint IP / SoundStation IP

Image Tags

The following image tag is supported:

<img>—Defines an image

Note

The Microbrowser supports images stored in uncompressed .bmp format. While all

 

BMP bit depths will be displayed to the best of the phone’s ability, it is

 

recommended that the image format most suitable for the target platform be

 

chosen. For example, the SoundPoint IP 601 LCD supports four levels of grey, so a

 

16-color BMP format would be most appropriate.

 

Images can be scrolled up and down, however images that are too wide will be

 

truncated.

 

 

 

Various platforms have differing limits due to memory. There are also

 

differing pixel limits for devices of differing pixel depth. A 1 bit per pixel

 

image 160x80 requires only 1600 bytes. For a 24 bit picture, the memory

 

requirement is 38400 bytes.

 

There are several limits depending on the source data (this involves the cache

 

limits in configuration) and the display converted data, which is dependant on

 

available RAM (and is limited in the code depending on platform).

 

<img>

 

The img element defines an image.

Note

 

The "align", "border", "hspace", and "vspace" attributes of the image element are

 

not supported in XHTML 1.0 Strict DTD.

 

 

The following attributes are supported:

Attribute

Value/s

Description

 

 

 

src

URL

The URL of the image to display

 

(Ex:

 

 

“http://www.topxml.com/images/to

 

 

pxml_site.gif”

 

 

or ”c:\images\img1.jpg” )

 

 

 

 

height

Pixels (number, EX: “30” )

Specifies the height of the image

 

%

in pixel or percent.

 

 

 

width

Pixels (number, EX: “30” )

Specifies the width of the image in

 

%

pixel or percent.

 

 

 

 

 

2 - 6

Image 16
Contents SIP Trademark Information About This Guide Developer’s Guide SoundPoint IP / SoundStation IP Contents Developer’s Guide SoundPoint IP / SoundStation IP What is the Microbrowser OverviewWhat is Xhtml How to Create Applications Microbrowser Application Development Supported Xhtml ElementsBasic Tags Another document by using the href attribute Link TagsInput Tags Following link tag is supported Defines an anchorMethod=get This method Specified URL Following attributes are supportedMethod=post This method Input Image Tags Following image tag is supported Img-Defines an imageRequirement is 38400 bytes Img element defines an imageTable Tags Attribute Value/s Description Http Support Meta Information TagsMicrobrowser User Interface Launching the Microbrowser Navigation and Form EditingDeveloping an Xhtml Application Changing Configuration ParametersIdle Display Microbrowser Sample Application Change mb.main.home to the URL used for Microbrowser homeHttp//WEBSERVERADDRESSPORT/PLCM/Sample.xhtml Getting the Path Where BMP File has to be Saved Xhtml file in the sip.cfg configuration file Reboot the phonesEnter a stock symbol, then select the Get Quote soft key AddStock.xhtml appears on the graphic displayXML Errors TroubleshootingSymptom Problem Corrective Action Developer’s Guide SoundPoint IP / SoundStation IP Appendix Unsupported Xhtml ElementsUnsupported elements and attributes are Tag Type Tag Description Basic TagsTag Type Tag Description Output Tags Block TagsLink Tags Frame TagsList Tags Tag Type Tag Description Input TagsImage Tags Style Tags Tag Type Tag Description Table TagsMeta Information Tags Tag Type Tag Description Programming Tags Developer’s Guide SoundPoint IP / SoundStation IP Index Developer’s Guide SoundPoint IP / SoundStation IP