Changing a user profile picture in WordPress site

Changing a user profile picture

Mostly, WordPress sites display a user’s gravatar image as their profile photo by default. However, sometimes we may not want to use a gravatar image as a user image on a site.

I am happy to inform — there is a way to change a user profile picture in your WordPress site. Actually, there are two (2) methods of changing a profile picture in your WordPress site:

  • use the Gravatar service.
  • use a WordPress plugin.

Today, I will show you both (2) methods, so you can decide which one fits you best. In this article, you will find a step-by-step guide on how to display your own profile picture in WordPress.

#1: Service

By default, WordPress uses a service called Gravatar to display the user’s profile picture. The profile picture is based on the user’s email address, associated with Gravatar service.

What is Gravatar service?

The name of the service stands for Globally Recognized Avatar. Most popular applications, such as WordPress, have built-in support for Gravatar.

A Gravatar is a Globally Recognized Avatar

I do not have a gravatar account.

If WordPress user does not have a gravatar account then WordPress will display a default image placeholder, called “Mystery Man”, as a profile picture.

There are other generic profile images that can be used for users without a custom avatar of their own. These images can be set in WordPress dashboard, under the Discussion Settings.

In the example below, you can find a mix of custom and default profile pictures when showing information about WordPress user.

Example of displaying a custom profile picture for WordPress user, along with an automatically generated avatar for WordPress user without gravatar account, in the Prosperity theme.

Unfortunately, it’s not possible to change gravatar using core options in the Discussion Settings page.

Change gravatar.

In order to change gravatar image, you will need to use the service’s website:

  1. Visit Gravatar site.
  2. Log in with your WordPress.com account.

You can find the Sign In button in the top right corner of the webpage. If you don’t have a WordPress.com account then you need to create one which is absolutely free and will take a few minutes.

Note, your gravatar account is associated with an email address you have in your WordPress dashboard under the Users section. Thus, make sure the email address, you use for a WordPress.com account, is the same as email you use on your WordPress site.

After clicking the Sign In button, you will see either a sign in form or an approval form.

The approval form appears when you are already logged into WordPress.com system. The sign in form appears when WordPress.com cannot locate you as a logged in user in the system.

  • if you get the approval form, click Approve to order to navigate to Gravatar dashboard and start uploading your profile picture.

  • if you get a regular sign in form, enter — either your email address or username — in the form field, and then click Continue to visit Gravatar dashboard to manage gravatars.

In Gravatar dashboard, select an email address for which you want to update a profile picture, and then click Add a new image link at the bottom of the page to upload an image.

Example of a dahboard page when a WordPress user can change gravatar image.

Follow directions that Gravatar gives you during the upload process in order to successfully update your profile picture.

After selecting and editing the image, and setting the image rating using controls in Gravatar dashboard, your new profile picture should be shown on a WordPress site.

Important to mention — there are cases when Gravatar shows an old image even when a new image has been already uploaded. In this case, log out of Gravatar to clear its cache, and then check again your recent changes.


#2: Plugin

Want to use something other than Gravatar service? Try WordPress plugins with functionality of changing the user’s profile picture.

Preview of an official WordPress plugins page.

Personally, I like Simple Local Avatars plugin which is free and easy to use.

Install the plugin.

In WordPress dashboard, go to Plugins and click Add New to open the Add Plugins screen. On this page, search for the plugin using the search field located at the top of the page.

Plugins screen: finding Simple Local Avatars
Plugins screen: finding Simple Local Avatars

Note, the searched plugin might not appear first in the list, so you will need to scroll down to find it.

Once you locate the plugin, click Install Now within the plugin box.

Plugins screen: installing Simple Local Avatars
Plugins screen: installing Simple Local Avatars

After installation, activate the Simple Local Avatars plugin in order to see options for uploading a profile picture.

Find profile picture options under the Users tab.

To upload a new profile picture, go to Users → Your Profile in your dashbaord. Find Avatar section, and then click Browse or Choose from Media Library to select the image.

After the image selection, click Update Profile to save your changes.

WordPress dashboard: Your Profile screen
WordPress dashboard: Your Profile screen

There are many other plugins that come with a functionality of changing a profile picture in your WordPress site. You can go to WordPress plugin directory and find the plugin you like the best.

Get a professional WordPress theme.

To unleash more of the potential of your WordPress site and give visitors a great experience, use a professional theme.

Themes Harbor enables you to create a human-centered and future proof website for your audience using a professional WordPress theme.

18 thoughts on “Changing a user profile picture in WordPress site

  1. That seems worth looking into! But do you mean I can also add other people’s pictures – people who never filled out their gravatar forms?

    I will try it out anyhow.

  2. Do you know if there is a way just to add my picture on the primary sidebar (genesis user profile) but not change my gravatar everywhere else? I designed a gravatar logo to use when responding to comments and such. Thanks!

  3. this is really helpful while I was searching for many days about how to change the avatar and finally, I easily changed my avatar.

  4. Is this supposed to work in a multisite network? The plugin is activated for the network and the site, but the additional field is not visible.

    1. Hi,

      If you want to change the profile picture without using the Gravtar service then you need to use the 3rd party plugin. See the post for more information.

      Kind regards,
      Taras

  5. Great work!!

    Does this plugin allow others users who visit my website be able to upload their profile pictures too from their local computers?

  6. I use Advanced Custom Fields (ACF) to add a picture field to the user archive pages. I never use that out-dated WordPress method to show profile headshots.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.