Using the Atom Publishing Protocol, also known as AtomPub, you can retrieve image files from the profiles of people in your organization, and you can add, replace, or delete the image file associated with your own profile.
Adding a photo to a profile
To add a photo to a profile, send an Atom entry document containing a reference to the image file to the user's Profile.
Removing a photo from a profile
To remove a photo from a profile, use the HTTP DELETE
Retrieving a profile photo
To retrieve the image file that supplies a person's photo to a profile, use the image link returned in the entry document.
Replacing a photo
To replace the image file that supplies the photo for a person's profile, send a binary image file to the web address defined in the image file link returned by the Profile's entry document.