User Profile Picture – Custom Local Avatars

Descripción

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, and any theme or plugin that uses get_avatar().

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, and themes and plugins that call get_avatar().
  • 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.

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. It helps other people find it.

Capturas

Instalación

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.

Preguntas frecuentes

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, and themes and plugins that use the standard get_avatar() function.

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.

Reseñas

15 de enero de 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.
17 de febrero de 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.
Leer la 1 reseña

Colaboradores y desarrolladores

«User Profile Picture – Custom Local Avatars» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Registro de cambios

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.