Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Ban users to change profile picture

I have been wondering if there is a functional workaround to disable possibity of changing profile pictures in confluence version 6+.

I have tried this ( without success.

Happy to hear any suggestion.


2 answers

The style changed - you need to change the entry you have in the Global Stylesheet to:

.avatar-picker-trigger { display: none; }  

Just a note - this approach does not work for sites using the Refined theme and adding this entry to the custom CSS section that they provide.

Hi @Lucinda Stroud ,

What version of RefinedTheme are you using? I can confirm that for our installation (Confluence 6.15.9 and RefinedTheme 6.1.10) this stylesheet line still does the trick for us. 

Just to verify, the line has to be added to the Confluence Global Stylesheet, and not the RefinedTheme configuration stylesheets.


Annotation 2019-11-15 200548.png

0 votes

Hi Marek,

I would recommend using an add-on to force the photos for users, such as this one:

There's a background job on that which sets them automatically from a location of your choosing. I am not very familiar with that add-on but I would expect that it should overwrite any photos that someone has uploaded themselves.

Let me know if you have any questions about that.



Dear Shannon,
I am very grateful for your reply, but I do not seek a paid solution. 

To introduce you to the the problem. I have created a solution, powershell script, to import profile pictures of all users from AD server to confluence via XML-RPC method. And I am able to run this script periodically to work around the problem of users changing pictures. But in that case I am not aware of the confluence behaviour in handling the files. If the method addProfilePicture replaces the previous file with the new one (filename is the same) or create a new version?

I'm quite convinced confluence handles it by stacking a new version of the file, similar to handling new page, attachment. Thus I would run out of disk space very soon. Therefore my question is if there exists a solution to easily remove picture (attachment) just by knowing the filename?

Best wishes,


Hi Marek,

That original knowledgebase article was an unofficial workaround and there doesn't seem to be a replacement for it.

It has been requested in the past to prevent users from changing their own avatar, but it has been rejected as we do not intend to pursue this in the future:

There is, however, an open request to allow admins to change user profile pictures:

My recommendation is to vote on that if it would help you accomplish what you need without the use of a paid add-on, and comment there with your use case.

Thank you for your understanding!



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

480 views 24 9
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you