In this procedure I'm going to start from scratch with an image and go step by step on how to tailor it to size an 7965/7945's IP Phone dispaly.
Components for this specific howto:
- 7965/7945 IP Phone
- CallManager Linux-based (5.x/6.x/7.x/8.x)
- The Gimp editing software
- A picture file of your preference
Prerequisites:
- Read the official guide: http://tools.cisco.com/squish/4441e
- CallManager Administrator and OS Administrator access
Steps:
Open the picture with The Gimp
- In my case, the image I selected is 225x168px, so it doesn't meet the size requirements (see Prerequisites).
- Go to Image > Canvas Size (If your image is bigger than the specified size, go to Image > Scale Image and follow next steps).
- Click the chain icon next to the pixels drop-down menu, and change the canvas size (or image size if you are scaling it) to Width:320 / Height:212
- Click the "Center" button so that the image stays centered on the new space, or drag the preview thumbnail to a corner of your choice within the canvas' space (if you are scaling the image the "Center" button and the drag option are not there)
- Click Resize
- Note the changes
- Now we need to put a white background.
- Right click the image layer on the layer window
- Click Flatten Image at the very bottom.
- Now we need to make sure there are no more colors than the phone can accept.
- Go to Colors > Posterize. This tools works with powers of 2. An IP Phone cannot display more than 65535 colors, so in the increase or decrease the posterize levels to no more than 15, as 15 is the closest power of 2 to 65535.
- Click ok
- Go to File > Save as > choose PNG as the file type
- Now lets fabricate the thumbnail
- Go to Image > Scale Image and type 80 in the Width field
- The Height field should automatically populate to 53
- Save the image in PNG type just as we did before
- Try to keep simple, short names like img.png and img-tmb.png
- Now we will tailor the XML file that lists the available images
- Copy this content to a regular text file, and save it as a .xml archive:
- <CiscoIPPhoneImageList>
<ImageItem Image="TFTP:Desktops/320x212x16/IMAGE.png"
URL="TFTP:Desktops/320x212x16/IMAGE-THUMB.png"/>
</CiscoIPPhoneImageList>
- Replace IMAGE.png in this code with the name chosen for your full size image. Don't forget/remove the double quotes at the end.
- Replace the IMAGE-THUMB.png wih the name chosen for your preview size image. Don't forget/remove the double quotes at the end.
- Save the file so that it reads: List.xml (case sensitive)
- Time to upload all 3 files to the TFTP server
- Go to Cisco OS Administration > Software Upgrades > TFTP File Management
- Click on Upload File
- In the Upload File field enter the path where your full size image, thumbnail image and List.xml files are
- In the Directory field, enter: /Desktops/320x212x16 (include the forward slashes and delete any white space at the end)
- Hit the Upload file button for each individual file you are transferring
- Back at the TFTP File Management window, type the name of your files and click Find to verify they are there.
- On the IP Phone, go to Settings > User Preferences > Background Images, and choose the thumbnail that you want to apply.