Documentation for Confluence 5.4.
Documentation for Confluence OnDemand and earlier versions of Confluence is available too.

Skip to end of metadata
Go to start of metadata

The Profile Picture macro displays a user's profile picture on a page.

  • When viewing the page, mouse-over the picture to see the Hover Profile for the user.
  • When editing the page, click on the picture and choose View User Profile to see the profile for the user.

The Profile Picture macro is useful for such tasks as creating Team Pages that show all members of a project team.

Using the Profile Picture Macro

To add the Profile Picture macro to a page:

  1. In the Confluence editor, choose Insert > Other Macros.
  2. Find and select the required macro.

Speeding up macro entry with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Using Autocomplete.

To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.

Parameters

Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).

Parameter

Default

Description

User

none

The username, or real name, of a Confluence user.

Code examples

The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page. 

Macro name: profile-picture

Macro body: None.

Storage format example

Wiki markup

Wiki markup is not available for this macro. You cannot add this macro via wiki markup.

  • No labels

7 Comments

  1. Hi!

    I want to display the profile picture of the currently logged in user on the dashboard. Is there a way to do so with this macro? Is there something like a "current user" property?

    And furthermore, how can I use this macro in other areas where there is no macrobrowser available? Like on the dashboard or when designing an own layout?

    Would be great to see also the syntax of the macro... like {profile-picture:user}

    thanks,
    Christian

  2. Anonymous

    Me too. To generate some Profiles by automatic, I need the name of the macro.

  3. Anonymous

    Searching for a way to display the User-Name in a welcome message. Did you find a solution? Thanks...

  4. Anonymous

  5. Anonymous

    The macro-command is:

    {profile:user=admin}
  6. Hallo all

    I've added some code samples for the storage format of the macro. Alas, it's not possible to add the macro via wiki markup.

    Cheers

    Sarah