# Updated image on gravatar, not seeing it update on site

**URL:** https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357
**Category:** Support
**Created:** [16 בדצמבר,‏ 2016,‏ 3:12pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357 "2016-12-16T15:12:15Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [16 בדצמבר,‏ 2016,‏ 3:12pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/1 "2016-12-16T15:12:16Z")

</div>

I updated the image for the email address I use on our private forum on gravatar about a week ago.

It looks correct when I check here:

> **[Gravatar - Globally Recognized Avatars](https://gravatar.com/site/check)**
>
> Your email address becomes your passport to the digital world, empowering you with complete control over your personal data.

But It’s not updated on our private site yet.

I tried switching my profile to use the letter avatar and back again, but that didn’t do the trick.

Do I need to restart the server or something?

---

<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: [16 בדצמבר,‏ 2016,‏ 3:21pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/2 "2016-12-16T15:21:47Z")

</div>

Did you try hitting this button?

 ![](https://global.discourse-cdn.com/meta/original/3X/c/c/ccf9fbf8db9f6b973dc1d56e2ef410eb4a3bba25.png)

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [16 בדצמבר,‏ 2016,‏ 3:24pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/3 "2016-12-16T15:24:18Z")

</div>

Yeah, I tried that. The image in that dialog did not change. I just tried clicking “Save Changes” anyway… haven’t seen it update yet.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [16 בדצמבר,‏ 2016,‏ 10:30pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/4 "2016-12-16T22:30:49Z")

</div>

Can we verify that gravatar refresh button here is still working in latest code @techapj? More than one report of this that I’ve seen…

---

<div class="post-metadata">

### Author: ![sudhirkhanger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sudhirkhanger/32/121167_2.png) [@sudhirkhanger](https://meta.discourse.org/u/sudhirkhanger)
#### Post date: [17 בדצמבר,‏ 2016,‏ 6:44am UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/5 "2016-12-17T06:44:14Z")

</div>

Hi,

I also notice that profile image has not changed after updating my Gravatar.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [17 בדצמבר,‏ 2016,‏ 12:35pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/6 "2016-12-17T12:35:40Z")

</div>

The gravatar update code was broken and was [fixed 4 days ago](https://meta.discourse.org/t/unable-to-obtain-gravatar-on-profile-edition-screen/54162/3).

@mcwumbly can you repro this issue on latest Discourse version?.

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [17 בדצמבר,‏ 2016,‏ 12:57pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/7 "2016-12-17T12:57:08Z")

</div>

Ah that looks like it’s probably it. I’ll last you know for sure after I do the next update. I was waiting for things to settle down a bit with some of the work currently going on (featured links, groups, ember), but I will update things soon.

**UPDATE** confirmed this is fixed in the latest version.

---

<div class="post-metadata">

### Author: ![nivshah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nivshah/32/120679_2.png) [@nivshah](https://meta.discourse.org/u/nivshah)
#### Post date: [28 במרץ,‏ 2017,‏ 8:34pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/8 "2017-03-28T20:34:20Z")

</div>

I’m seeing this behavior again both on my installation of Discourse and on this installation. I updated my Gravatar quite a while ago and have clicked the refresh button with no luck. I am running 1.8.0.beta8

**EDIT** Scratch that, it seems to be updating fine on this installation. I’ll have to poke at my own install.

---

<div class="post-metadata">

### Author: ![pihentagy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pihentagy/32/131067_2.png) [@pihentagy](https://meta.discourse.org/u/pihentagy)
#### Post date: [13 בנובמבר,‏ 2019,‏ 2:12pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/9 "2019-11-13T14:12:26Z")

</div>

Should I use this button at all? Can’t Discourse update it eventually (or just use gravatar directly)?

---

<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: [13 בנובמבר,‏ 2019,‏ 3:49pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/10 "2019-11-13T15:49:51Z")

</div>

Discourse will create a local copy of the image, so you should use this button if you want the Avatar to update.

---

<div class="post-metadata">

### Author: ![pihentagy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pihentagy/32/131067_2.png) [@pihentagy](https://meta.discourse.org/u/pihentagy)
#### Post date: [13 בנובמבר,‏ 2019,‏ 5:40pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/11 "2019-11-13T17:40:14Z")

</div>

Let me say it from another viewpoint:

If a user sets to use gravatar, why on Earth would they **not** update their gravatar?

Why sould the _user_ take action, and not that is the default to update silently?

---

<div class="post-metadata">

### Author: ![532910](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/532910/32/172812_2.png) [@532910](https://meta.discourse.org/u/532910)
#### Post date: [20 במרץ,‏ 2020,‏ 7:49am UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/12 "2020-03-20T07:49:20Z")

</div>

Just installed v2.5.0.beta2 and experience the same issue: after user creation it shows gravatar image, but can’t update it after image change on gravatar side. I see nothing in the `/var/discourse/shared/standalone/log/rails/production.log` pressing image reload in the user interface.

---

<div class="post-metadata">

### Author: ![532910](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/532910/32/172812_2.png) [@532910](https://meta.discourse.org/u/532910)
#### Post date: [29 במרץ,‏ 2020,‏ 9:34am UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/13 "2020-03-29T09:34:56Z")

</div>

Is there any update?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [30 במרץ,‏ 2020,‏ 4:32am UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/14 "2020-03-30T04:32:02Z")

</div>

Can we repro this @tshenry?

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [3 באפריל,‏ 2020,‏ 12:04am UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/16 "2020-04-03T00:04:02Z")

</div>

I can repro! The gravatar fails to update after I change it on [https://en.gravatar.com/emails](https://en.gravatar.com/emails) and select the refresh button on the Discourse user profile.

 ![Screen Shot 2020-04-02 at 4.51.20 PM](https://global.discourse-cdn.com/meta/original/3X/f/5/f5784d80f6e226778c0ac8ff60f38ec6f91e3ccd.png)

I also tried running `rake avatars:refresh` to see if that would do anything, but no luck.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [3 באפריל,‏ 2020,‏ 1:10am UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/17 "2020-04-03T01:10:19Z")

</div>

~~We should investigate this, can you assign Friday @eviltrout?~~

But wait: let’s give this the weekend to see if it is a cache propagation issue. Can you set a topic timer @tshenry to refresh on Monday?

---

<div class="post-metadata">

### Author: ![532910](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/532910/32/172812_2.png) [@532910](https://meta.discourse.org/u/532910)
#### Post date: [3 באפריל,‏ 2020,‏ 8:12am UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/18 "2020-04-03T08:12:00Z")

</div>

Jeff, if you mean HTTP cache so the answer is NO. More than a week has already passed for my attempts with no success.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [6 באפריל,‏ 2020,‏ 1:57am UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/19 "2020-04-06T01:57:04Z")

</div>

This is meant to correct the avatar right away looking at the code:

> <https://github.com/discourse/discourse/blob/ce00da3bcd29f1555dcfcfe241e968efbd249944/app/controllers/user_avatars_controller.rb#L7-L14>

@kris.kotlarek can you repro this issue and fix?

Gravatar could very possibly be at fault here, caching something on their end for too long.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [7 באפריל,‏ 2020,‏ 10:01pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/23 "2020-04-07T22:01:38Z")

</div>

@kris fixed this by adding a random parameter to the URL.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [7 באפריל,‏ 2020,‏ 10:01pm UTC](https://meta.discourse.org/t/updated-image-on-gravatar-not-seeing-it-update-on-site/54357/24 "2020-04-07T22:01:41Z")

</div>


