Mirror Gravatar

Locally mirror commenters' Gravatar images.

Author:Jamie Zawinski (profile at wordpress.org)
WordPress version required:2.7
WordPress version tested:6.6.1
Plugin version:1.4
Added to WordPress repository:09-06-2022
Last updated:31-07-2024
Rating, %:100
Rated by:1
Plugin URI:https://www.jwz.org/mirror-gravatar/
Total downloads:1 165
Active installs:10+
plugin download
Click to start download

Locally mirrors commenters’ Gravatar, Libravatar and Mastodon avatars and serves them from your site, rather than loading them from a third-party web site upon each page load.

This has several effects:

  • If most of the comments on a post have no avatar, those turn into one load of a shared image, instead of one for each comment, that happens to return the same “mystery” image.

  • You will be serving more (small) images.

  • If a commenter’s URL looks like a link to a Mastodon / ActivityPub profile, their Mastodon account’s avatar will be displayed.

  • When commenting, a live preview of the Gravatar tracks the contents of the “Email” field.

  • gravatar.com and libravatar.org no longer have a web-bug on your blog that is loaded by each viewer. Instead of being loaded at every page view, the avatar is loaded just once, on the server-side, at the time each new comment is posted.

  • If someone changes or deletes their Gravatar, your site continues displaying the image that was their avatar at the time that they last posted.

  • Likewise, the user’s Gravatar profile is saved along with their comment, viewable by admins even if they later change or delete it.

Security and Privacy


Screenshots
ChangeLog