how to update sharepoint user profile photo code example
Example 1: sharepoint get user profile picture by email
<img src="/_layouts/15/userphoto.aspx?size=L&[email protected]"/>
Size=S | 48×48 px
Size=M | 72×72 px
Size=L | 300×300 px
Username – replace it by the user email you want to retrieve the photo
Example 2: sharepoint get user profile picture by email
<img src="/_layouts/15/userphoto.aspx?size=L&[email protected]"/>