Special thanks to Joann for the question!
A common use case is to have a list of people in a list in SharePoint, maybe they’re members of a project, contacts for a department, your favorite people to talk to, whatever it may be, you have a list. This example is a listing of my teammates:
Now I’d like to spice it up a little and see their pretty little faces. In my example, I’m just using the Title field to store their names (well, the Title field renamed to Name, regardless, same scenario). This won’y fly. We need to add a people picker to the list. I added one called Account Details. You could name yours Photo, Pic, Face, etc.
Add a people picker to the list, and add the correct values:
You can edit this view in Quick Edit mode, and copy/paste the Name column into the Account Details column.
Now let’s configure it to show their picture! (yes you could’ve done this with the above step, but for illustration purposes I add more steps)
When you edit the People Picker Field, check out the Show Field property.
See the few options at the bottom? Picture Only, select one. In my example, I selected 72×72
BLAM! Profile pictures!!
Now I’ll let my team know I’m sharing their pretty faces.
‘Til next time, Happy SharePointing!
Having issue in Modern view in SharePoint. Can you provide any patch for that?
I doubt I have a patch, modern is pretty locked down. What’s the issue you’re seeing?
But i have question. I have users whose profile pictures have been populated in Mysites pages from AD, but using the steps you showed above, i am not getting the pictures populated?
This is using default SharePoint functionality, as you’ll see there ain’t no code ;). Check the URL path to the image, if you have your MySites setup in a separate web app, you may need to authenticate there first.
Would you happen to know how I could get the picture to show up without authenticating again. Users already logged in to the main application.
Huh that’s odd. Check the URL path of the image. I’d guess SSO isn’t configured to that different domain path? If it’s the same domain it should be promoting.
No SSO is configured, we use AD authentication.
Let’s say the URL of the application is http://app1/
The URL of the image is http://app1/_layout/15/userdisp.aspx?ID=16
When I click on the image, it requests authentication (which i’d like to skip) to http://server1 (app1 resides on server1)
After that it leads me to:
http://server1/my/Person.aspx?accountname=i%3A0%23.w|ad\user1
Yea, that’s the issue, it’s sending you to server1. If I remember (been many years) this is how your My Sites are configured. It could be something like the order of the hostnames in IIS, or how it’s configured in Central Admin. Unfortunately, I don’t know exactly, it’s been way too long.
Thank you for your answers! Appreciate it.
I’ll dig into that then
Good One Dave!!