4

I've found this user: Min Min. Maybe this user is using Google account because of:

<div class="gravatar-wrapper-164">
    <img src="https://lh6.googleusercontent.com/.../photo.jpg?sz=328" alt="" width="164" height="164" class="bar-sm avatar-user">
</div>

Since the link is broken, the image could not be loaded:

enter image description here

This annoying will be applied to his question, too.


Is it better if we use anonymous-gravatar to replace in this case? I mean:

var avatarUri = 'https://lh6.googleusercontent.com/-RhaTXtPT1aQ/AAAAAAAAAAI/AAAAAAAAAAA/APUIFaPNmXvVGTWjg1gOqNfVohnJfElr3Q/mo/photo.jpg?sz=328';

fetch(avatarUri).then(function (response) {
  if (!response.ok) {
    throw new Error('Not found!');
  }
}).catch(function () {
  // try to use anonymous-gravatar instead
  document.querySelector('.anonymous-gravatar').style.display = 'inline-block';
});
.anonymous-gravatar {
  background-image: url('https://cdn.sstatic.net/Img/unified/sprites.svg?v=fcc0ea44ba27');
  width: 32px;
  height: 32px;
  background-position: 0 -400px;
  display: none;
}
<span class="anonymous-gravatar"></span>

2
  • This should be tagged [feature-request], not [support] Sep 19, 2020 at 10:33
  • 2
    Keep in mind that this effect is also observable if third party services go down, if ad block shuts down some of these third party sites (... for good reason. Especially Facebook embeds tracking through the images). Along with security reasons (also another meta post somewhere), there's a minor bit of a push to move all profile pics to imgur to avoid ad block artifacts, third party outage artifacts, and broken link artifacts. Hasn't gone through though, so there's not much that's going to be done
    – Zoe is on strike Mod
    Sep 19, 2020 at 13:19

0

You must log in to answer this question.

Browse other questions tagged .