Jens Trier Rasmussen

The odd bit of information about Lync Server 2013, Lync 2010, Exchange 2013, SharePoint Server 2013, Exchange 2010 SP1, OCS 2007 R2, Exchange 2010 and OC 2007 R2

Configuring picture from a web site in Lync 2013

Configuring picture from a web site in Lync 2013

  • Comments 4
  • Likes

When Lync 2013 shipped we did not provide the user interface to allow the user to configure his/her picture to be available on a web site (sometimes referred as photo url). With the November 7, 2013 update to Lync 2013 we have added this capability to Lync 2013. We have also changed the layout a little bit in the My Picture options page.

The ability to configure the picture from a web address is controlled by a new ClientPolicy entry called EnablePresencePhotoOptions. It can only be set via the Lync Server Management Shell (see below for an example on how to do it).

When the entry is set to True Lync 2013 will display a 3rd radio button in the My Pictures options page, as shown below.

The user can then select the radio button and enter the Url to the picture. The maximum size of the picture is controlled by the ClientPolicy parameter MaxPhotoSizeKB. In the screenshot below I've set this value to 1000 and that is reflected in the user interface. The picture at the Url needs to be publically available without requiring a password for accessing it.

In the first screenshot you can also see the change in the layout of the page. We are no longer showing 2 different sizes of the picture in use, just one. We will show a 200x200 pixels version of the picture, either scaled up or down as needed.

Here is an example of how to set the policy entry using Lync Server Management Shell

  • $pe=New-CsClientPolicyEntry -Name EnablePresencePhotoOptions -Value True
  • $po=Get-CsClientPolicy
  • $po.PolicyEntry.Add($pe)
  • Set-CsClientPolicy -Instance $po
Comments
  • Great!

    It works with a configuration with Lync 2013 CU3 and Exchange 2013 CU2. This policy cannot be enabled on Office 365.

    But how and where does this Lync client store the photo URL ?

    Is there a cmdlet for automating this operation for many users ?

    Philippe P.

    Jens>Thanks Philippe. The url is carried inside the presence information for the user. Unfortunately there is no administrative interface to set this.

  • Hi,
    I have the same question as Philippe, about the 'where is the photo saved'? When choosing 'Connect to picture', afterwards it says 'Your picture has been downloaded', so I assume the picture is saved in the user's mailbox somewhere...

    Thanks
    Danny

    Jens>The photo is stored in the local photo cache on the PC (C:\Users\u1\AppData\Local\Microsoft\Office\15.0\Lync\sip_u1@contoso.dk\Photo), not in the Exchange mailbox.

  • Can this be enabled on the client side vs. the server side? I have two PCs, one has Lync 2010 installed and I can see the Photo via URL option, another PC has Lync 2013 installed and it doesn't have that option.

    Jens>No, this needs to be enabled on the server side via the client policy.

  • Jens,
    Through some testing this week I am found that when using URL for photo's they don't get cached locally to the Photo directory. Please let me know if you are not seeing the same behavior.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment