Title: User Profile Picture &#8211; Custom Local Avatars
Author: Dew Technolab
Published: <strong>September 24, 2019</strong>
Last modified: October 24, 2026

---

Search plugins

![](https://ps.w.org/users-profile-picture/assets/banner-772x250.jpg?rev=2162259)

![](https://ps.w.org/users-profile-picture/assets/icon-256x256.jpg?rev=2162259)

# User Profile Picture – Custom Local Avatars

 By [Dew Technolab](https://profiles.wordpress.org/dewtechnolab/)

[Download](https://downloads.wordpress.org/plugin/users-profile-picture.1.0.10.zip)

 * [Details](https://srd.wordpress.org/plugins/users-profile-picture/#description)
 * [Reviews](https://srd.wordpress.org/plugins/users-profile-picture/#reviews)
 *  [Installation](https://srd.wordpress.org/plugins/users-profile-picture/#installation)
 * [Development](https://srd.wordpress.org/plugins/users-profile-picture/#developers)

 [Support](https://wordpress.org/support/plugin/users-profile-picture/)

## Description

**User Profile Picture** gives any user a custom profile picture, a local avatar
chosen from the WordPress Media Library, instead of their Gravatar.

Choose the picture on the user’s profile screen with the standard WordPress media
uploader. From then on it appears everywhere WordPress shows that user’s avatar:
comments, author boxes, the admin toolbar, the Users list, the Avatar block, the
REST API, and any theme or plugin that uses `get_avatar()` or `get_avatar_url()`,
such as page builder author boxes and GraphQL APIs.

#### Features

 * Custom profile picture for any user, chosen or uploaded with the native WordPress
   media uploader.
 * Shown everywhere avatars appear: comments, post authors, the admin toolbar, the
   Users screen, the Avatar and Post Author blocks, and themes and plugins that 
   call `get_avatar()` or `get_avatar_url()`.
 * Avatar URLs in the REST API (`avatar_urls`) and in plugins that ask for the avatar
   URL, such as page builder widgets and GraphQL APIs, use the custom picture too.
 * Remove the picture with one click to go back to the Gravatar.
 * Pictures are served from your own site, so users don’t need a Gravatar account.
 * Users without a custom picture keep their Gravatar or your default avatar.
 * Keeps the size, alt text, CSS classes and lazy loading your theme asks for.
 * Set the picture when creating a user on Users > Add New.
 * Lightweight: no settings page, and the media uploader loads only on the user 
   screens.
 * Works with block themes, classic themes and multisite.
 * For developers: the `dew_profile_img()` function and the `dpp_avatar_classes`
   filter.

#### How it works

 1. Go to **Users** and open a user’s profile, or your own.
 2. Under **Profile Picture**, click **Upload** and choose or upload an image.
 3. Click **Update Profile**. The picture now replaces that user’s Gravatar across 
    your site.

To go back to the Gravatar, click **Remove** under the picture and then **Update
Profile**.

Profile pictures are set by administrators (users who can edit other users), for
any user including themselves.

Like the plugin? Please consider [leaving a review](https://wordpress.org/support/plugin/users-profile-picture/reviews/#new-post).
It helps other people find it.

## Screenshots

[⌊The Profile Picture field on the user profile screen.⌉⌊The Profile Picture field
on the user profile screen.⌉[

The Profile Picture field on the user profile screen.

[⌊Choosing or uploading the picture with the WordPress media uploader.⌉⌊Choosing
or uploading the picture with the WordPress media uploader.⌉[

Choosing or uploading the picture with the WordPress media uploader.

## Installation

#### From your WordPress dashboard

 1. Go to **Plugins > Add New** and search for “User Profile Picture Dew Technolab”.
 2. Install and activate the plugin.
 3. Open **Users > Profile**, or edit any user, and set the profile picture.

#### Manual installation

 1. Upload the `users-profile-picture` folder to `/wp-content/plugins/`.
 2. Activate the plugin on the **Plugins** screen.

## FAQ

### How do I set a user’s profile picture?

Open the user’s profile (Users > Profile, or Users > All Users > Edit), click **
Upload** under Profile Picture, choose an image and click **Update Profile**.

### Who can set profile pictures?

Administrators, and other users who can edit users. They can set a picture for any
user, including themselves.

### Where is the picture shown?

Everywhere WordPress shows that user’s avatar: comments, author boxes, the admin
toolbar, the Users list, the Avatar block, and themes and plugins that use the standard`
get_avatar()` or `get_avatar_url()` functions. The REST API’s `avatar_urls` and 
plugins that read the avatar URL (page builder widgets, GraphQL APIs) get the custom
picture as well.

### How do I remove a profile picture?

Open the user’s profile, click **Remove** under the picture and click **Update Profile**.
The user gets their Gravatar or the default avatar again.

### Do users still need Gravatar?

No. A user with a custom profile picture gets it from your site. Users without one
keep their Gravatar or the default avatar set in Settings > Discussion.

### How do I show the picture in my theme?

Use `get_avatar( $user_id, 96 )` as usual. To print only the custom picture, use`
dew_profile_img( $user_id, array( 'size' => array( 96, 96 ) ) )`. Add CSS classes
with the `dpp_avatar_classes` filter.

### How do I crop the image?

In the media uploader, click **Edit Image** to crop or scale the picture with the
WordPress image editor before you choose it.

### Does it work on multisite?

Yes. The picture is stored with the user, so it is shown on every site in the network.

### Where can I get help?

Ask in the [support forum](https://wordpress.org/support/plugin/users-profile-picture/).

## Reviews

![](https://secure.gravatar.com/avatar/d8a7d7f9b0926bed8777c8db06d13856c8d5a9e467dc0dcf21544ecef06a44af?
s=60&d=retro&r=g)

### 󠀁[Nice user profile plugin](https://wordpress.org/support/topic/nice-user-profile-plugin/)󠁿

 [Hub5050](https://profiles.wordpress.org/creatorseo/) January 15, 2026

Easy to use and does exactly what I would expect without any unnecessary functionality.
It is nice to have a way for updating user profile pictures and not having to use
a Graviar or something else. I hope that this plugin will be maintained going forward
as it is greatly appreciated.

![](https://secure.gravatar.com/avatar/a00f9c62f55667e9d971a0186c86c63e09183cf154d68fb5955a59571fb15044?
s=60&d=retro&r=g)

### 󠀁[A Simple and Effective Solution](https://wordpress.org/support/topic/a-simple-and-effective-solution-2/)󠁿

 [designwise](https://profiles.wordpress.org/designwise/) February 17, 2023

Admins who need to add profile photos for users who do not have avatars can do so
with this "plain vanilla" plugin, nothing fancy, just plain functional. Scroll down
to the bottom of the user settings to see the new option.

 [ Read all 1 review ](https://wordpress.org/support/plugin/users-profile-picture/reviews/)

## Contributors & Developers

“User Profile Picture – Custom Local Avatars” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Dew Technolab ](https://profiles.wordpress.org/dewtechnolab/)
 *   [ Divyesh Ghediya ](https://profiles.wordpress.org/dew491212/)

[Translate “User Profile Picture – Custom Local Avatars” into your language.](https://translate.wordpress.org/projects/wp-plugins/users-profile-picture)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/users-profile-picture/),
check out the [SVN repository](https://plugins.svn.wordpress.org/users-profile-picture/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/users-profile-picture/)
by [RSS](https://plugins.trac.wordpress.org/log/users-profile-picture/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.10

 * Fix: The profile picture is now also used by code that asks for the avatar URL
   instead of the image (`get_avatar_url()` and `get_avatar_data()`): the REST API`
   avatar_urls`, page builder author boxes and profile picture tags, GraphQL APIs
   and the block editor showed the Gravatar.
 * Fix: The Avatar block’s border and rounded corners were lost on profile pictures.
   Extra image attributes, height and width passed to `get_avatar()` are now kept.
 * Added: A “Remove” button under the profile picture to go back to the Gravatar.

#### 1.0.9

 * Fix: The plugin name showed an unreadable character instead of the dash on the
   Plugins screen.

#### 1.0.8

 * Added: A short, dismissible review request on the user screens (two weeks after
   first use) and a “Leave a review” link on the Plugins screen.
 * Tweak: Clearer plugin name, description and FAQ.

#### 1.0.7

 * Fix: The profile picture is now also used when themes request an avatar with 
   a user object, a post or a member’s comment, and keeps the theme’s alt text, 
   CSS classes and lazy loading.
 * Fix: `dew_profile_img()` printed nothing (and a PHP warning) when called with
   its default settings, and its default size produced an invalid image size.
 * Fix: The picture chosen on Users > Add New is now saved.
 * Fix: Picture URLs containing “&” were saved HTML-encoded.
 * Security: Only http and https picture URLs are accepted, saving checks permission
   to edit that specific user, and a profile save without the picture field no longer
   removes the picture.
 * Tweak: The media uploader now loads only on the user profile screens instead 
   of every admin page.
 * Tweak: The text domain now matches the plugin slug so WordPress.org translations
   load.
 * Tested with WordPress 7.1.

#### 1.0.6

 * Added compatibility with WordPress version 7.0.0.

#### 1.0.5

 * Added compatibility with WordPress version 6.7.1.

#### 1.0.4

 * Added compatibility with WordPress version 6.0.
 * Other minor bug fixes.

#### 1.0.3

 * Added compatibility with PHP version 8.0.
 * Added compatibility with WordPress version 5.6.
 * Other minor bug fixes.

#### 1.0.2

 * Change

#### 1.0.1

 * Fix error

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.10**
 *  Last updated **4 weeks ago**
 *  Active installations **4,000+**
 *  WordPress version ** 4.5 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/users-profile-picture/)
 * Tags
 * [avatar](https://srd.wordpress.org/plugins/tags/avatar/)[custom avatar](https://srd.wordpress.org/plugins/tags/custom-avatar/)
   [local avatar](https://srd.wordpress.org/plugins/tags/local-avatar/)[profile picture](https://srd.wordpress.org/plugins/tags/profile-picture/)
   [user avatar](https://srd.wordpress.org/plugins/tags/user-avatar/)
 *  [Advanced View](https://srd.wordpress.org/plugins/users-profile-picture/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/users-profile-picture/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/users-profile-picture/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/users-profile-picture/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/users-profile-picture/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/users-profile-picture/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/users-profile-picture/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/users-profile-picture/reviews/)

## Contributors

 *   [ Dew Technolab ](https://profiles.wordpress.org/dewtechnolab/)
 *   [ Divyesh Ghediya ](https://profiles.wordpress.org/dew491212/)

## Support

Issues resolved in last two months:

     1 out of 1

 [View support forum](https://wordpress.org/support/plugin/users-profile-picture/)