10-30-2012 05:40 AM
Hi All,
I am trying to get the picture path from the contact in address book.
I am getting the title, firstName etc successfully.
But I can't find such code from which I can get the path of particular contact picture.
Please help me if anyone know the code or having any solution As Soon As Possible.
Thanks & Regards,
Himansu
Solved! Go to Solution.
10-31-2012 01:40 PM
You can retrieve the image object as a base64 encoded string, but won't receive the file path (API Reference). To display the image you can use a data URI along with an <img> tag.
Example on how to use data URI: http://css-tricks.com/data-uris/
11-01-2012 03:21 AM
Hi mimendoza,
I got through the code and it's little bit complicated..
Please can you provide some sample code to retrieve the image.
i got stock with thie problem.
Thanks & Regards,
Himansu
11-01-2012 09:06 AM
Hi
I figure out the problem I am facing and able to retrieve the image to my custom contact list.
Thanks & Regards,
Himansu
11-01-2012 10:05 AM
Glad to hear that this method worked for you.