WP Manifestindependent plugin directory
manifest / users / simple-user-profile-picture-for-wordpress

Simple User Profile Picture

Adds a profile picture upload field to User profiles in WordPress.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/yllus/simple-user-profile-picture-for-wordpress/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A WordPress plugin that adds profile picture upload functionality to user profiles.

Features

  • Add profile picture field to user profile pages
  • Upload images via WordPress Media Library
  • Replace WordPress default avatars with custom profile pictures
  • Remove profile pictures
  • Responsive image sizing
  • Clean, modern interface

Installation

  1. Upload the simple-user-profile-picture folder to /wp-content/plugins/
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to Users → Your Profile to upload a profile picture

Usage

For Users

  1. Navigate to your profile page (Users → Profile)
  2. Scroll to the "Profile Picture" section
  3. Click "Upload Picture" to select an image from your media library or upload a new one
  4. Click "Update Profile" to save your changes

For Developers

The plugin stores the profile picture as an attachment ID in user meta:

  • Meta Key: simple_user_profile_picture
  • Value: WordPress attachment ID (integer)

Get a user's profile picture URL:

$user_id = 1;
$attachment_id = get_user_meta($user_id, 'simple_user_profile_picture', true);
if ($attachment_id) {
    $image_url = wp_get_attachment_image_url($attachment_id, 'thumbnail');
    echo $image_url;
}

The plugin automatically filters:

  • get_avatar_url - Returns custom avatar URL
  • get_avatar - Returns custom avatar HTML

Requirements

  • WordPress 5.0 or higher
  • PHP 7.0 or higher

Changelog

1.0.0

  • Initial release
  • Profile picture upload functionality
  • Avatar filtering
  • Media library integration

License

GPL v2 or later