Display Picture Control

Ff752335.note(en-us,MSDN.10).gifNote:
Current information about Live Connect is now available in the Windows Live Developer Center. The information in the following sections is provided for legacy purposes only.

The Display Picture control shows a contact's display picture. It is represented in markup by the display-picture tag. The Display Picture control does not indicate the sites to which the user is currently signed in. You have the option of positioning the Windows Live logo in the lower-right corner of the image.

The following example shows the complete markup for inserting the Display Picture control into a Web page.

<wl:display-picture
   cid="-0123456789">
</wl:display-picture>

The following table describes the attributes for the Display Picture control.

Name Type Required Default Value Description

cid

String

Yes

none

Sets the CID of the contact.

default-image

String

No

none

Sets the URL that is associated with the default image.

logo-enabled

Boolean

No

true

Sets whether a logo is rendered.

presence-enabled

Boolean

No

true

Sets whether the user's presence is visible to contacts.

size

small | medium | large

No

large

Sets the size of the display picture.

The following screen shots show each of the available sizes for the Display Picture control.

Small Medium Large
Small Display Picture control
Medium Display Picture control
Large Display Picture control
Show: