On this page
user-picture.tpl.php
Last updated on
7 December 2017
Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites
The user-picture.tpl.php returns HTML for a picture configured for the user's account.
Available variables:
- $user_picture:
- Image set by the user or the site's default. Will be linked depending on the viewer's permission to view the user's profile page.
- $account
- Array of account information. Potentially unsafe. Be sure to check_plain() before use.
See also
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion