Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Display User Profile Picture

$
0
0

Hi all,

I am trying to display userprofile picture in my custom master page.

<%@ Register Tagprefix=”SPSWC” Namespace=”Microsoft.SharePoint.Portal.WebControls” Assembly=”Microsoft.SharePoint.Portal, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %>

And also added the below entries in the place where the image needs to be displayed

<SPSWC:ProfilePropertyLoaderrunat="server"/>

<SPSWC:ProfilePropertyImage PropertyName=”PictureUrl” style=”float: left; height: 20px; width:20px;” ShowPlaceholder=”true” id=”PictureUrlImage” runat=”server”/>

No error is thrown but image is not displayed


Ranjani.R


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>