Question

Get photo profile of contact OData

Dear's, I need to get the photo (file or binary) of the contact by OData to my external system. How can get that?

Regards, 

 

File attachments

Like

3 comments

Dear Federico,

All images are stored in the table SysImage. The picture is stored in the Data column. Please check the discussion to understand how to covert the varbinary to image following this link: https://stackoverflow.com/questions/8279553/converting-varbinary-to-image

Best regards,

Lily

Lily, this data is in Base64 encode?

because when convert the httpWebResponse with base64 decode can't get the image.

Can you give a example to consume this Odata image from c# and convert that to base64?

Regards,

 

Show all comments