I've reviewed other solutions for this, but I need clarification on something I'm not getting by reading other posts. I'm using a powershell script to:
1) Upload profile pictures on our network into the User Photos picture library in the My Site Host. This works.
2) Associate a picture to a user profile. I'm using this command ... $up.get_Item($picturePropertyName).Value = $PortraitUrl ... where $up is the user profile, $picturePropertyName is the property name of the url (PictureUrl), and $PortraitUrl is the
full path to the picture uploaded in point 1 above. This isn't working.
3) Eventually I will be executing the Update-SPProfileStore command to automatically resize the images once they've been added.
Clarification required ... when I associate a picture to the user profile in step 2 above, is this what will automatically generate the 3 thumbnails for me (in the Profile Picture folder)? Or ... do I have to manually create the 3 images?
Or ... will it associate the image I've provided and then the Update-SPProfileStore command will create the 3 resized images for me?
I notice that when I associate a picture to a profile using the 'Edit my Profile' UI, it automatically creates the thumbnails for me. I'm just not understanding how these pieces fit together. I see some code snippets out there for r
View Complete Post