.. include:: /Includes.rst.txt
.. _typo3-backend-avatar:
======
avatar
======
Render the avatar markup, including the :html:`` tag, for a given backend user.
Examples
========
Default
-------
::
Output::
If the given backend user hasn't added a custom avatar yet, a default one is used.
Inline notation
---------------
::
{be:avatar(backendUser: user.id, size: 32, showIcon: 'true')}
Output::
Arguments
=========
.. _avatar_backenduser:
backendUser
-----------
:aspect:`DataType`
mixed
:aspect:`Required`
false
:aspect:`Description`
Uid of the backend user
.. _avatar_size:
size
----
:aspect:`DataType`
mixed
:aspect:`Default`
32
:aspect:`Required`
false
:aspect:`Description`
Width and height of the image
.. _avatar_showicon:
showIcon
--------
:aspect:`DataType`
mixed
:aspect:`Required`
false
:aspect:`Description`
Show the record icon as well