Hosting Tutorial & Guide

How to Disable WordPress Gravatar and Allow Your Users to Upload Their Own Avatars

updated on Jun 09, 2017
How to Disable WordPress Gravatar and Allow Your Users to Upload Their Own Avatars WordPress comes with a built-in system for gravatars where avatar images are associated with the users' email addresses. Gravatar, Globally Recognized Avatar, allows your users to use a same avatar from weblog to weblog when leaving comments. However, there are some instances where you want to replace WordPress gravatar with custom avatars.

The main drawback of WordPress gravatar is the negative impact on the speed of your website. In order to display gravatars in the comment area, WordPress frequently makes a request to a third party system - - which will slow down your website. In this article, we will show you how to disable WordPress gravatar and how to allow your users to upload their own avatars with a plugin.

Disable WordPress Gravatar

Based on the email addresses, WordPress automatically enables the display of avatars for your users who comment on your website. If you are not satisfied with the default avatars, you are free to disable the auto-run function.

On the Settings > Discussion page, you need to uncheck "Show Avatars" under the Avatars section. As long as you click on the Save Changes button, you will get WordPress gravatar disabled entirely. That is to say, there are no user gravatars on your comment and admin area.

Discussion Page

Allow Your Users to Upload Their Own Avatars

Indeed, it is possible for your users to upload their own avatars with an exclusive plugin. That is WP User Avatar which enables your users to add more personal images through Media Library because a personal image is much better than a same one.

You can directly download the plugin on the Plugins > Add New page where you can search for it with the keyword. Since there are more than 200,000 users who trust the WP User Avatar plugin, you can hold high expectations for this plugin.

WP User Avatar

Upon activation, you can navigate to Avatars > Settings page to disable gravatars completely and allow users to upload their own avatars.

Settings Page

In addition, you are allowed to not only set limitations for file size but also resize avatars on upload. In order to better display avatars, here are some tips for you.
  • You'd better set the file size limit under 8 MB which is also required by Media Library.
  • When the file size is non-standard, it can be cropped into exact dimensions. We advise you to enter 128 into the width and height box which will work fine for most images. If you want to display avatars with more detail, you can change 128 into 250.
Resize Image

When it comes to the Default Avatar section, you have the freedom to set a standard avatar for users who do not have a custom avatar of their own. After a click on the Choose Image button, you need to upload the avatar you like into Media Library. Certainly, you are able to add more detailed information like title and description.

Choose Image

If your users want a custom avatar, they can go to the Profile > Your Profile page, scroll down to the Avatar section, and choose their own avatars through Media Library. In this way, their unique identity will be displayed.

Allow Users

Note: If you just want to disable WordPress gravatars, there is no need for you to install the WP User Avatar plugin which allows your users to upload their own avatars.