Is it possible or is there a way to show every Profile Picture? I dont want to instert the ProfilePicture Macro 300times. Is there a way to Show every Profile Picture with one Macro (like the Userlister Macro but with the Profilepictures)



2 answers

0 vote

Hi Bastian, 

I believe we don't have this feature on Confluence or third party plugins. 

However, I created this improvement request:



Please vote on that to increase the visibility and keep updated.



Renato Rudnicki

0 vote
Stephen Deutsch Community Champion Jun 16, 2015

Hi Bastian,

I thought I would throw something together to solve your problem.  It's a user macro that works together with the user list macro and substitutes the tiny grey figure with the user's avatar.  If there's a lot of people, it takes a few seconds to load, but it does the trick anyways smile

## @noparams
  AJS.toInit(function() {
    jQuery('img[src="/images/icons/user_bw_16.gif"]').each(function() {
        var image = jQuery(this);
        var username = image.next().next().text();
        username = username.substring(1, username.length - 1);
            url: contextPath + "/rest/prototype/1/user/non-system/" + username + ".json",
            success: function(userData) {
                image.attr("src", userData.avatarUrl).attr("height", 48).attr("width", 48);

Just insert this user macro in the same page as a user list and it will work its magic (you may want to set it as visible to administrators only so you don't confuse the regular users).

I only tested this on Confluence 5.7, so I'm not sure how well it works on earlier/later versions.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked 4 hours ago in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

36 views 3 3
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you