# How can I disable or remove gravatar?

**URL:** https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425
**Category:** Support
**Created:** [January 25, 2016, 5:52am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425 "2016-01-25T05:52:28Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Tyler\_Oakson](https://avatars.discourse-cdn.com/v4/letter/t/48db29/32.png) [@Tyler\_Oakson](https://meta.discourse.org/u/Tyler_Oakson)
#### Post date: [January 25, 2016, 5:52am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/1 "2016-01-25T05:52:28Z")

</div>

I’m running discourse (bitnami install) and was wondering how I can disable gravatars? Or which line of code to remove to prevent gravatars from popping up, trying to keep it at system default only.

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [January 25, 2016, 6:08am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/2 "2016-01-25T06:08:49Z")

</div>

Search for `automatically download gravatars` in site settings.

---

<div class="post-metadata">

### Author: ![Tyler\_Oakson](https://avatars.discourse-cdn.com/v4/letter/t/48db29/32.png) [@Tyler\_Oakson](https://meta.discourse.org/u/Tyler_Oakson)
#### Post date: [January 25, 2016, 6:25am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/3 "2016-01-25T06:25:28Z")

</div>

> [@fefrei](#):
>
> automatically download gravatars

Thats turned off, however it still lets people set a gravatar.

---

<div class="post-metadata">

### Author: ![Tyler\_Oakson](https://avatars.discourse-cdn.com/v4/letter/t/48db29/32.png) [@Tyler\_Oakson](https://meta.discourse.org/u/Tyler_Oakson)
#### Post date: [January 25, 2016, 8:44pm UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/4 "2016-01-25T20:44:41Z")

</div>

Been a couple of hours so I’m initiating an emergency bump.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 25, 2016, 9:45pm UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/5 "2016-01-25T21:45:53Z")

</div>

Disabling gravatar is not available. You could potentially hide it via CSS, but that will only “disable” it in the UI. If you want to disable in the code too, you’ll have to write a plugin.

---

<div class="post-metadata">

### Author: ![Tyler\_Oakson](https://avatars.discourse-cdn.com/v4/letter/t/48db29/32.png) [@Tyler\_Oakson](https://meta.discourse.org/u/Tyler_Oakson)
#### Post date: [January 26, 2016, 12:54am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/6 "2016-01-26T00:54:18Z")

</div>

Which is the css value? I’m not sure where to get it 😕

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [January 26, 2016, 2:15am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/7 "2016-01-26T02:15:17Z")

</div>

> [@Tyler\_Oakson](#):
>
> Which is the css value? I’m not sure where to get it

Try your browser dev tools, IMHO a good tool to have !

For example, this

`div.avatar-selector div div div:nth-of-type(2n) { background-color: #0ff; }`

does this

 ![](https://global.discourse-cdn.com/meta/original/3X/9/2/9267443a2101c33ff23680654dd8a98c3f3b307e.png)

---

<div class="post-metadata">

### Author: ![Tyler\_Oakson](https://avatars.discourse-cdn.com/v4/letter/t/48db29/32.png) [@Tyler\_Oakson](https://meta.discourse.org/u/Tyler_Oakson)
#### Post date: [January 26, 2016, 5:55am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/8 "2016-01-26T05:55:20Z")

</div>

I set custom pictures to false, so if I click the change avatar button on preferences it automatically goes to gravatar without a popup, so I can’t get the div id for the button, due to its generic button.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [January 26, 2016, 8:14am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/9 "2016-01-26T08:14:27Z")

</div>

Wait, so what are the avatars that people have? If custom avatars are disallowed and gravatar is disallowed, what are the avatars?

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [January 26, 2016, 8:27am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/10 "2016-01-26T08:27:40Z")

</div>

I guess he just wants all users for his installation to have the A-Z default system profiles, so it’s kinda like running in a ‘no avatars’ mode?

Dunno what the impulse is though; I’m quite fond of avatars in any community site myself.

---

<div class="post-metadata">

### Author: ![Tyler\_Oakson](https://avatars.discourse-cdn.com/v4/letter/t/48db29/32.png) [@Tyler\_Oakson](https://meta.discourse.org/u/Tyler_Oakson)
#### Post date: [January 26, 2016, 9:20pm UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/11 "2016-01-26T21:20:16Z")

</div>

I edited the A-Z avatars to use an API that gets avatars from another game based on username, however If they use gravatar it would ruin the entire purpose

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [January 27, 2016, 2:11am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/12 "2016-01-27T02:11:09Z")

</div>

Ah, so you replaced the “system avatar” functionality with a Minecraft avatar service **using `external_system_avatars_url`, right?** , and would like to force everyone onto that. I think that might be a valid usecase.

---

<div class="post-metadata">

### Author: ![Tyler\_Oakson](https://avatars.discourse-cdn.com/v4/letter/t/48db29/32.png) [@Tyler\_Oakson](https://meta.discourse.org/u/Tyler_Oakson)
#### Post date: [February 6, 2016, 3:55am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/13 "2016-02-06T03:55:50Z")

</div>

Its not minecraft, but yes it used a 3rd party API to get in-game player images

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 16, 2018, 5:36am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/15 "2018-12-16T05:36:03Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 15, 2019, 5:48am UTC](https://meta.discourse.org/t/how-can-i-disable-or-remove-gravatar/38425/16 "2019-01-15T05:48:59Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
