Content

Page tree


Description

The SnomIPPhoneImageFile tag (or IPPhoneImageFile) displays an image from an external URL.

See examples for this tag below.


This XML Item is deprecated, please use IPPoneMenu / MenuImage.



Valid Attributes

  • SnomIPPhoneImageFile can contain any of the attributes from the Main Attributes list
  • fkeys_in_front: Show label when showing the image. Valid values: true, false, yes, no, on, off.



Valid Subtags

SnomIPPhoneImageFile can contain any of the subtags from the Main Subtags list.

In addition, it contains the following subtags:

URL

The location of the image file

  • The given image can only twice as big as the phone resolution.
  • If the image width or height is larger than the phone resolution, the image is scaled until both width and height lower/equal to display resolution.
  • Supported image extensions are: png, jpg, bmp
  • Minibrowser supports transparency in png files

Height

Determine the height of the image

Width

Determine the width of the image

LocationX

The X-coordinate where the image should be placed on the phone display

LocationY

The Y-coordinate where the image should be placed on the phone display



Examples

Simple example

XML Code:

<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneImageFile>
	<LocationX>30</LocationX>
	<LocationY>-2</LocationY>
	<URL>https://service.snom.com/download/attachments/48400101/cloud.jpeg</URL>
	<Height>600</Height>
	<Width>300</Width>
</SnomIPPhoneImageFile>

Result: