Table of Contents


community:ProfilePhoto

This component shows a user's profile picture.
 

Properties

PropertyDescription
UserIdThe ID of the user for whom the profile photo should be shown. If not provided, the logged-in user's (current user's) picture is shown.
CssClassCustom CSS class for custom styling.
WidthOptionally customize the width of the photo.
HeightOptionally customize the height of the photo.
LinkToProfileA boolean value: true or false, whether the photo should have a link to the User's Social Profile. Default: false.
VisibleExpression to evaluate if the Feeds component should be visible or not.

 

<!-- show the current user's profile picture -->
<community:ProfilePhoto runat='server' linkToProfile='true'/>