In Microsoft Lync 2010 you can see many ways to add profile pictures to your lync client.
Adding a Picture to Lync Corporate profile (By Exchange Management Shell)
In your Exchange Management Shell you can type following command to upload a photo. Please note that before you add these to shell, change it to appropriate parameters. Also the picture you are preparing to add must be least 10 kb of file size.
Import-RecipientDataProperty -Identity “User’s name as in your Active Directory” -Picture -FileData ([Byte]$(Get-Content -Path “C:\pictures\damitha.jpg” -Encoding Byte -ReadCount 0))
Adding picture through web site (30 Kb)
If you want to add customized picture to a Lync user, Simply log in to a Lync Client.
Go to Tools -> Options -> My Picture -> Select option (Select Picture from a web site) and please mention the path you have uploaded your photo.