community:ProfilePhoto
This component shows a user's profile picture.
Properties
| Property | Description |
|---|
| UserId | The 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. |
| CssClass | Custom CSS class for custom styling. |
| Width | Optionally customize the width of the photo. |
| Height | Optionally customize the height of the photo. |
| LinkToProfile | A boolean value: true or false, whether the photo should have a link to the User's Social Profile. Default: false. |
| Visible | Expression to evaluate if the Feeds component should be visible or not. |
<!-- show the current user's profile picture -->
<community:ProfilePhoto runat='server' linkToProfile='true'/>