The business requirement is quite simple: find a solution for SharePoint My Sites’ pictures.
After the implementation of the User Profile Service (a very good UPS deployment guide can be read on www.harbar.net), and adding data into the following fields in the Active Directory user’s profile:
- General Tab: First Name, Last Name, Office, Telephone, E-mail
- Organization Tab: Job Title, Department, Company, Manager
I was able to have all the My Site features up and running (displaying information about users, colleagues, organization hierarchy, search visibility– including skills).
But the big challenge remained: how to add the pictures in a standard way? The solution: the “thumbnailPhoto” field in the Active Directory profile.
The picture thumbnail can be uploaded directly into the Active Directory database, into the “thumbnailPhoto” field if we use a PowerShell script. For SharePoint 2010 the thumbnails need to be 144px * 144px (the SharePoint system will generate 3 thumbnail photos, for each user: 144*144, 96*96, 32*32).