a!userImage( user, altText, caption, link, showWhen )
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.
See also: Image design guidance
Name | Keyword | Types | Description |
---|---|---|---|
User |
|
User |
The user whose profile photo will be shown. |
Alternate Text |
|
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 |
|
Text |
Text to display in mouseovers. |
Link |
|
Link |
Link that determines the behavior of an image when clicked. Create links with: |
Visibility |
|
Boolean |
Determines whether the image is displayed in the component. When set to false, the image is hidden and is not evaluated. Default: true. |
The following patterns include usage of the User Image.
Event Timeline (Timeline, Events): Use the event timeline pattern to display a dated list of events and actions in chronological order. This pattern uses a combination of cards, rich text, and user images to show an easy to navigate list of dated events.
Leaderboard (Looping): Use the leaderboard pattern to show a selection of your data in an easy to read ranked display.
User List Pattern (Looping): The user list pattern retrieves all the users in a specified group and displays them in a single column.