Skip to content

WPShout Newsletter

Sign up for news, tips, and insights to help you build better websites.

Newsletter - Top banner

How to Change Your WordPress Profile Picture Without Gravatar

WordPress uses Gravatar for profile pictures by default, but you can keep the image on your own site instead. The simplest route is a current local-avatar plugin.

This guide shows how to upload a WordPress profile picture without Gravatar and make sure the correct author’s image appears on posts.

The plugin step takes only a few minutes. Displaying the image depends on whether your site uses a classic theme or a block theme, so both paths are covered below.

WordPress profile picture without Gravatar

Quick answer: Install Simple Local Avatars, edit the relevant user, choose an image in the new Avatar section, and save the profile. Then enable the author avatar in your theme’s post settings or in the Post Author block.

Why WordPress sends you to Gravatar

Open Users → Profile in an unmodified WordPress installation and the Profile Picture section shows the Gravatar associated with your account email. WordPress’s own profile documentation still directs users to Gravatar to change that image.[1]

That setup is convenient if you want one identity to follow the same email address across different sites. A local avatar is better when you want the image stored in your WordPress media library, do not want to create a separate Gravatar account, or need a different picture on one site.

OptionWhere the image livesBest fit
GravatarGravatar’s service, linked to an email addressYou want the same identity across compatible sites
Local avatarYour WordPress uploads directoryYou want site-specific control without a Gravatar account

A local avatar does not automatically disable every Gravatar on the site. It replaces the image for a user who has a local upload. Whether Gravatar remains available as a fallback for other users and commenters is a separate setting.

How to change your WordPress profile picture without Gravatar

This update uses Simple Local Avatars. Its WordPress.org listing marks its support level as stable, says it stores avatars in the normal uploads folder, and explains that it can keep Gravatar as a fallback or turn it off.[2]

  1. Go to Plugins → Add New Plugin.
  2. Search for Simple Local Avatars, then click Install Now and Activate.
  3. Open Users → Profile for your own account, or Users → All Users → Edit for another account you are allowed to manage.
  4. Scroll to Avatar and click Choose from Media Library.
  5. Upload or select a square image, crop it if needed, and confirm your selection.
  6. Choose the appropriate rating and click Update Profile or Update User.

Simple Local Avatars field on the WordPress profile screen
The current plugin adds an Avatar section to the WordPress profile screen.
WordPress media picker for selecting and cropping a local avatar
Select an existing media item or upload a new square image, then crop it for the avatar.

What size should the avatar image be?

Start with a square image because most themes crop avatars into a square or circle. The current media picker suggests 200 by 200 pixels. A larger square source is also fine because the plugin generates the sizes WordPress requests, but compress the file before uploading it.

Keep the face or logo away from the outer edges. A circular crop can remove the corners even when the uploaded file is square.

How to show the profile picture on posts

Uploading the image and displaying it are separate jobs. The plugin makes the local avatar available through WordPress, while your theme decides whether an author image appears in the post layout.

Classic theme method

Classic themes usually put author controls in the Customizer or in a theme-specific settings panel. Look under Appearance → Customize, then check the single-post or post-meta settings for an author-avatar option.

Neve, which comes from the same team as WPShout, provides a clear classic-theme example. In Neve, open Layout → Single Post, make the Author item visible under Post Meta, and turn on Show Author Avatar. Other themes may use different labels.

Neve Customizer settings for showing and sizing an author avatar
Neve’s classic-theme controls let you show the author avatar and adjust its size.

Publish the Customizer change, then open a post written by that user and confirm the image appears in the intended location.

Author avatar displayed on the front end of a WordPress post
Check a published post to verify the avatar and author name together.

Block theme method

With a block theme, go to Appearance → Editor → Design → Templates and edit the template used for single posts. Select or add the Post Author block, open its settings, and enable the avatar. WordPress documents the Post Author block as supporting the author’s avatar, bio, byline, and author-page link.[4]

Post Author block with the avatar setting in the WordPress Site Editor
Use the Post Author block’s avatar control in a single-post template.

You can also add a separate Avatar block. In a reusable single-post template, leave its User setting empty so WordPress uses the current post author. Assign a specific user only when you intentionally want the same person shown everywhere the block appears.[5]

Important: Do not assign your own account to an Avatar block inside a general Single template. That can make every post using the template show your picture instead of its actual author’s picture.

Local avatars, Gravatar fallback, and comment avatars

Go to Settings → Discussion to review the site’s avatar controls. WordPress uses Gravatar by default for comment avatars, but plugins can override that behavior, and the Show Avatars option controls whether comment avatars are displayed.[3]

  • One user needs a local image: upload it in that user’s profile and leave fallback behavior alone.
  • You want local images but still accept Gravatar: keep Gravatar fallback enabled in the plugin settings.
  • You want no Gravatar requests: use the plugin’s Gravatar-disable option, then test logged-in users, post bylines, author archives, and comments.

Those choices affect different parts of the site. Turning off comment avatars is not the same as adding a local author image, and adding one local image is not the same as disabling Gravatar for everyone.

Troubleshooting a WordPress profile picture

ProblemWhat to check
The image saved but does not appear on postsEnable the author avatar in the theme or template and confirm the post is assigned to the edited user.
The old image still appearsClear page, object, CDN, and browser caches, then reload the user profile and a post.
Every post shows the same personRemove the fixed User selection from the Avatar block in the Single template, or use Post Author instead.
Comment avatars are missingCheck Settings → Discussion → Show Avatars and review the plugin’s Gravatar fallback setting.
A subscriber cannot upload an imageReview the local-avatar permission option under Discussion settings and the user’s media capabilities.
The image looks awkward when circularUpload a square source with extra space around the face or logo, then crop it again.

What about Basic User Avatars?

An earlier version of this guide recommended Basic User Avatars. It can still provide local uploads and a front-end shortcode, but WordPress.org currently warns that it has not been tested with the latest three major WordPress releases and may have compatibility issues.[6] That is why Simple Local Avatars is now the main walkthrough.

If your site already uses Basic User Avatars, do not switch blindly. Back up the site, test the replacement on staging, and verify existing user images before removing the old plugin.

SUPPORT OUR WORK

WPShout has been delivering weekly tutorials, reviews, and deep dives for WordPress developers and business owners since 2009. To maintain our independence and continue creating high-quality content, we increasingly rely on donations from our community.

Donate today to support independent technical publishing.

Donation amount
Donation frequency

Final thoughts

A local-avatar plugin solves the part WordPress does not include in its default profile screen: uploading a site-specific profile picture. The remaining step is to let the active theme or post template display the correct author’s image.

Use Simple Local Avatars for the upload, Post Author for a dynamic block-theme byline, and the theme’s author setting for a classic layout. That combination avoids Gravatar without accidentally showing one person’s photo on every post.

References

  1. [1] WordPress.org: Users Your Profile screen
  2. [2] WordPress.org: Simple Local Avatars
  3. [3] WordPress.org: Settings Discussion screen
  4. [4] WordPress.org: Post Author block
  5. [5] WordPress.org: Avatar block
  6. [6] WordPress.org: Basic User Avatars

Don’t forget to join our crash course on speeding up your WordPress site. Learn more below:

 
Yay! 🎉 You made it to the end of the article!
WPShout Editorial
Share:

11 Comments
Most Voted
Newest Oldest
littlemissyoga
December 3, 2024 11:54 am

Thanks for the Gravatar loop. What a horrible thingie.

Editor
Martin Dubovic
December 18, 2024 9:19 am
Reply to  littlemissyoga

No problem. I definitely feel you and glad I could help.

Andi
November 18, 2021 11:27 am

Thanks – horrible experience with Gravatar
Happy I could avoid using that stupid thing!

Deborah Mawson
May 17, 2021 1:30 pm

This has been very helpful. Thank you.

Peter
June 18, 2021 4:37 am
Reply to  Deborah Mawson

Yes thanks!

joeboy
June 29, 2020 7:05 am

Is there any way to escape the use of plugins to achieve this?

Grégoire Noyelle
June 4, 2020 10:28 am

Hi
Thanks for that. Unfortunately, the plugin do not support retina image for Avatar. It’s too blurry for me.

John
May 4, 2020 1:54 pm

Hi, you say you’re using this plugin for your avatar… but in the comments section, no profile image is showing? Do you no longer use this plugin?

Cheers,
John

Joy Dhar
December 31, 2019 12:10 am

Thank you so much 🙂

I know how its feels while changing photo with gravatar.
This helps me a lot

Bernhard
December 7, 2019 1:46 pm

Thanks for the post!
Just FYI: suggested plugin does not work with Elementor. However, you can set a custom author directly in Elementor, but this is for all posts, so not perfect either.

a305587
August 13, 2019 4:50 pm

Great post. What would also be helpful would be to find out how to change the Gravatar picture.

I was recently added as a guest user to a friend’s website and discovered I already had a Gravatar icon image of myself already assigned to my account. However it’s not an image I want to use and I don’t remember setting this up. What I can’t figure out is how to change this Gravatar image. If you could write a post telling us how to do this, that would be helpful. A search on Google was not yielding me results on how to do this.