Adding Users Photo to Welcome Text in SharePoint 2010

IOTAP’s Sharepoint branding team has helped several customers with applying corporate branding to their Sharepoint sites. Recently during one such Sharepoint 2010 branding exercise, to induce some personalization touch to the intranet we decided to display the user’s photo before the welcome text.

After tinkering with the Sharepoint 2010 master page controls a bit we were able to find a solution for displaying the user’s photo.

Default Sharepoint 2010 page:


Sharepoint 2010 page after applying the user photo:


Below are the steps for adding users photo before the welcome text

STEP 1: Add the following Register tag at the top of the master page (before the doctype element)

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

STEP 2: Search for”s4-trc-container-menu” and add the following control (before welcome control)

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

The picture display setting can also be toggled by changing the ShowPlaceholder setting “true” to “false”

To know more about IOTAP’s Sharepoint branding services visit