Profile Pictures Library - itaysk

Profile Pictures Library

Posted Wednesday, May 28, 2008 5:23 PM by Itay Shakury

I have created a deployment project for Steven Van de Craen's solution for managing user profile pictures from a single picture library.profile picture

About the original project:
The project itself is a simple event handler that synchronizes a picture library with user profiles pictures.
When a picture is added to the library, it is automatically paired with the relevant user profile. Pairing is based on the file name of the picture, which has to match the user's login name in AD.
More on the project here:
http://www.moss2007.be/blogs/vandest/archive/2007/07/24/profilepictureeventhandler.aspx

So what do I have to do with this? This solution is a great idea and a free download but hard to implement for most users.

About my deployment project:
I have created a deployment process that automates the creating and installing of this solution in your environment.
The setup installs the assemblies in your GAC, creates a picture library and registers the event handlers with the library. It also handles uninstalling.
The original project is provided as is and without changes from my side.

pplfeature

Downloads:
Installation files only - http://blogs.microsoft.co.il/files/folders/itaysk/entry94519.aspx
Source code + installation files -

Instructions:
Run the setup file from 'ProfilePictureEventHandler\setup.exe'
Browse to the site where you want the picture library actually installed. Go to Site settings, Site Features, and activate the ProfilePictuesLibrary feature.

תגים:, ,

Comments

# re: Profile Pictures Library

Friday, June 13, 2008 11:01 AM by B@rney

I had some problems getting this to work. The solution (for my issues) were to grant Manage User Profiles in SSP to the App Pool Account. Read more here:

sharepointdemo.biz/.../user-profile-picture-library.aspx

# re: Profile Pictures Library

Tuesday, July 08, 2008 8:17 PM by ZZ

Thanks! Great timing with this post for my org.

# re: Profile Pictures Library

Thursday, July 17, 2008 7:38 PM by whall

I'm interested to make this work - we've recently started an employee headshot drive, and currently we created a headshot photo library on the HR site, with one of the IT guys having an alert set up to be notified when a new one is uploaded. He then works to rename it to standard, resize it and crop it correctly, and then manually updates the user profile to point to it.

This solution seems better, but I guess the only problem is that we're still to do the resize and cropping.  But maybe this is the real solution, because then the admins can upload (or email if email-enabled) the source picture, we get alerted, and then we size it, crop it, and then rename it to the account name.  Maybe the event handler also works when the photo is renamed?

# Ruven’s SharePoint Blog » Blog Archive » Populate MySites with staff pictures when you go-live

Pingback from  Ruven’s SharePoint Blog  » Blog Archive   » Populate MySites with staff pictures when you go-live

# re: Profile Pictures Library

Monday, May 18, 2009 9:58 AM by nick_noelpa

# re: Profile Pictures Library

Thursday, August 13, 2009 12:05 PM by polarf4

Thank you for sharing this with us.

# re: Profile Pictures Library

Monday, August 17, 2009 8:45 PM by SteveJ

This has been working fine for over a year, but happened to break after applying MOSS SP2.  The library is still there with all the photo's.

Anybody else have this issue?

# re: Profile Pictures Library

Tuesday, August 18, 2009 10:22 PM by Lon Ramsey

I had to allow Authenticated Users to manage user profiles with these steps:

dotnetdreamer.com/.../enumerating-sharepoint-user-profiles-access-denied-exception

Then I needed to change the code to allow for a first.name accountname format by changing filename.IndexOf(".") to filename.LastIndexOf(".") to get the last period and the whole account name.

Now, I need to rewrite the setup to include the new dll.

Thanks,

Lon

# re: Profile Pictures Library

Monday, October 26, 2009 4:40 PM by Robert King

Thsi works great however the profile pictures are not appearing in search results or people and groups even though they are visable on the mysite pages.

Can any offer any advice on this issue?

# re: Profile Pictures Library

Tuesday, November 10, 2009 9:35 PM by Renea Pilcher

What triggers the sync of the picture library and the profile.

# re: Profile Pictures Library

Wednesday, November 11, 2009 10:31 AM by Itay Shakury

Renea,

It's an Event Reciever

# Dave's Blog » Blog Archive » Sharepoint Tools

Thursday, November 19, 2009 12:23 AM by Dave's Blog » Blog Archive » Sharepoint Tools

Pingback from  Dave's Blog  » Blog Archive   » Sharepoint Tools

# re: Profile Pictures Library

Thursday, November 26, 2009 2:05 PM by david

after a activate the profilepictureLibrary site feature

and a created a photolibrary but it’s no working

do a have to do something else to let it work

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: