Type: PHOTO

RFC reference: [RFC2425] section 3.1.4.

vCard data format: PHOTO; ENCODING=b; TYPE=<type>:<data>

Brief description: An image or photograph that illustrates some aspect of the object that the vCard represents.

Importing to Contact Objects

The binary data for the associated photo is stored as an attachment. For more details about Message object attachments, see [MS-OXCMSG] section 2.2.2. The properties listed in the following table MUST be set on the Attachment object, as specified in [MS-OXCMSG].

Attachment object property




[MS-OXOCNTC] section



[MS-OXCMSG] section

Photo stream in binary format.


[MS-OXCMSG] section

".jpeg", ".bmp", ".gif", or ".png", according to the TYPE parameter.


[MS-OXCMSG] section

"ContactPhoto.<ext>". The extension is the value of the TYPE parameter.

Only binary data types with the ENCODING parameter set to "b" are supported. The TYPE parameter MUST be one of the following image type values:

  • .bmp

  • .gif

  • .jpeg

  • .png

Exporting from Contact Objects

The PHOTO type is exported from the Attachment object with the ENCODING parameter set to "b" and the TYPE parameter set to the image type (.bmp, .gif, .jpeg, or .png). The image is exported in binary format, as specified in [RFC2047] section 4.