User Image

User Image

Function: a!userImage()

Displays a user's profile photo for use in an image field, rich text field, tree browser field, billboard layout or grid column in a Read-Only Grid.

Parameters

Name Keyword Type Description
User user User The user whose profile photo will be shown.
Alternate Text altText Text Alternate text of the image used for the image's alt attribute and read by screen readers; see accessibility considerations for more information.
Caption caption Text Text to display in mouseovers.
Link link Link Link that determines the behavior of an image when clicked. Create links with
Visibility showWhen Boolean Determines whether the image is displayed in the component. When set to false, the image is hidden and is not evaluated. Default: true.

Notes

  • When no User is provided, the default profile picture is shown.

The following patterns include usage of the User Image.

  • User List Pattern (Looping): The user list pattern retrieves all the users in a specific group and displays them in a single column. Each user's name and title appears next to their profile picture which is styled as an avatar.
FEEDBACK