---
title: "Avatar ViewHelper <be:avatar>"
manual: "Fluid ViewHelper Reference"
version: "13.4"
permalink: "https://docs.typo3.org/permalink/t3viewhelper:typo3-backend-avatar@13.4"
source: "Backend/Avatar.rst"
modified: "2026-09-17T09:07:45+00:00"
---

# Avatar ViewHelper `<be:avatar>`

> [!NOTE]
> This ViewHelper is not available by default.
>
> [Import its namespace](https://docs.typo3.org/m/typo3/reference-coreapi/13.4/en-us/ApiOverview/Fluid/Index.html#fluid-syntax-viewhelpers-import-namespaces)
> `{namespace be=TYPO3\CMS\Backend\ViewHelpers\}` in the Fluid file or
> `xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers/"` in the opening HTML tag.

ViewHelper to render the avatar markup (including the `<img>` tag) for a given backend user. If the given backend user hasn't added a custom avatar yet, a default one is used.

Go to the source code of this ViewHelper: [AvatarViewHelper.php (GitHub)](https://github.com/TYPO3/typo3/blob/main/typo3/sysext/backend/Classes/ViewHelpers/AvatarViewHelper.php).

## Arguments of the `<be:avatar>` ViewHelper

-   **backendUser**

    -   *Type:* int
    -   *Default:* 0

    uid of the backend user

-   **showIcon**

    -   *Type:* bool
    -   *Default:* false

    show the record icon as well

-   **size**

    -   *Type:* int
    -   *Default:* 32

    width and height of the image
