SharePoint 2010 Tip of the day – New Profile Picture Storage (and retrieval) mechanism


Sharepoint2010-17-40-02

Unlike the 2007 edition where the picture was stored on each user "my site", they are now hosted in a central library "User Photos" under your mysite url

So in order to access this repository, just point your browser to :
http://sharepoint2010/my/User%20Photos/Forms/AllItems.aspx (adapting the computer name / domain to your needs obviously)

Like all pictures libraries, uploaded images are resized in 3 dimensions (large, medium, small) and you can access a specific picture by using the url above with something like

"http://sharepoint2010/my/User%20Photos/{0}_{1}_{2}Thumb.jpg"  where {0} is the domain name, {1} is the login name and {2} is the requested size (L, M or S).

Now I need to find a way to retrieve the my site application url (from a sandbox solution, that will be … fun !)

François

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s