11-05-2014, 06:24 AM
Is there a way to specify a contact picture in ContactData.xml using a URL?
I tried various methods to call a picture inside one of the contact entries, but nothing has worked.
Here are some examples of what I tried:
Of course, none of those are documented methods of calling a picture. I was hoping they would work.
I'm aware of the official method, using Contact.tar, but would like to avoid this if possible, as it adds another level of complexity to the system (archiving an archive).
Being able to plug in a URL for the picture would be much easier.
Thanks in advance.
I tried various methods to call a picture inside one of the contact entries, but nothing has worked.
Here are some examples of what I tried:
Code:
Using the 'Config:' prefix.
<contact sDisplayName="Test" sOfficeNumber="999" sMobilNumber="" sOtherNumber="" sLine="0" sRing="Auto" group="" photoDefault="Config:tftp://192.168.13.3/test.jpg" photoSelect="0" />
--
Using the 'Resource:' prefix.
<contact sDisplayName="Test" sOfficeNumber="999" sMobilNumber="" sOtherNumber="" sLine="0" sRing="Auto" group="" photoDefault="Resource:tftp://192.168.13.3/test.jpg" photoSelect="0" />
--
Using the 'Custom:' prefix.
<contact sDisplayName="Test" sOfficeNumber="999" sMobilNumber="" sOtherNumber="" sLine="0" sRing="Auto" group="" photoDefault="Custom:tftp://192.168.13.3/test.jpg" photoSelect="0" />
--
Using no prefix.
<contact sDisplayName="Test" sOfficeNumber="999" sMobilNumber="" sOtherNumber="" sLine="0" sRing="Auto" group="" photoDefault="tftp://192.168.13.3/test.jpg" photoSelect="0" />
Of course, none of those are documented methods of calling a picture. I was hoping they would work.
I'm aware of the official method, using Contact.tar, but would like to avoid this if possible, as it adds another level of complexity to the system (archiving an archive).
Being able to plug in a URL for the picture would be much easier.
Thanks in advance.