Case study · WordPress plugin

User Profile Picture: custom local avatars for WordPress

A WordPress plugin I built in 2019 and still maintain: it gives any user a profile picture from the Media Library instead of a Gravatar. 4,000+ active installs, rated 5/5 on WordPress.org.

  • WordPress
  • PHP
  • JavaScript
Start a project

Your own avatar, no Gravatar needed.

Many sites want profile pictures without asking every user to sign up for Gravatar. With User Profile Picture, a picture is chosen on the user’s profile screen with the standard WordPress media uploader, and it then appears wherever WordPress shows that user’s avatar. In the 2026 releases I made it work with code that asks for the avatar URL (the REST API, page builders and GraphQL), kept the Avatar block’s styling, added a Remove button and tightened security.

WordPress user profile screen with the Profile Picture field and an Upload button
The WordPress Add Media dialog for uploading or choosing the profile picture

Key features

Pick once, shown everywhere.

Version 1.0.10, tested up to WordPress 7.1.4 (requires WordPress 4.5 and PHP 7.4). No settings page; works with block themes, classic themes and multisite.

Profile Picture field

A Profile Picture field on the user’s profile and on Users › Add New, with a Remove button to go back to the Gravatar.

The Profile Picture field with its Upload button on the user profile

Native media uploader

Pictures are uploaded or chosen with WordPress’s own media uploader and served from your site, so users don’t need a Gravatar account.

The Add Media dialog with Select Files

Shown everywhere

Comments, author boxes, the toolbar, the Users screen, the Avatar block, the REST API and any code that calls get_avatar() or get_avatar_url().

Where the picture appears: comments, author boxes, admin toolbar, Users screen, Avatar block, REST API, page builder widgets and avatar functions

More work

Explore more projects.

Other WordPress plugins I’ve built.

UPI QR Code Payment Gateway

WooCommerce plugin to accept UPI payments by QR code, with UTR verification. 1,000+ active installs, rated 5/5.


View case study
UPI QR Code Payment Gateway plugin banner: customers scanning a UPI QR code on a phone

COD to UPI for WooCommerce

WooCommerce plugin that confirms cash-on-delivery orders before shipping and offers prepaid UPI payment instead.


View case study
COD to UPI plugin banner: a cash-on-delivery parcel converted to a paid UPI order

Let’s work together

Have a web app, plugin or integration in mind?

Tell me about your project and I’ll get back to you with the next steps.

Find me on

Freelance platforms.

You can also hire me through these freelance marketplaces.

  • Upwork profile
  • Fiverr profile
  • Freelancer.com profile
  • Guru profile
  • PeoplePerHour profile

Contact

Let’s work together on your next project!

Share a few details about your project using the form and I’ll get back to you. You can also message me on LinkedIn.

Number without the country code

Your details are only used to reply to your enquiry.