Custom Profile Picture – Replace Gravatar with Your Own Images

Changelog

1.0.5

  • FIXED: get_avatar_url and pre_get_avatar_data filters now correctly resolve any $id_or_email value (integer ID, email string, or WP_Comment object), so custom avatars display properly on the frontend in all contexts.
  • NEW: [custom_profile_picture] shortcode β€” lets logged-in users upload, crop, and remove their own profile picture on any public page without admin access.
  • NEW: AJAX remove action available on the frontend (custprofpic_frontend_remove_picture).
  • NEW: Dedicated frontend CSS (frontend-profile.css) and JS (frontend-upload.js) β€” loaded only on pages that contain the shortcode.
    Added – Appsero insight vendor
    Critical Performance Update – Highly Recommended

  • FIXED: Massive database query optimization – eliminated expensive attachment_url_to_postid() calls

  • PERFORMANCE: Reduced database queries by up to 90% on pages with multiple avatars
  • OPTIMIZED: Added object caching to prevent repeated queries for same user
  • IMPROVED: Ensured attachment ID is always stored when uploading profile pictures
  • FIXED: Removed duplicate admin notice hook that could cause unnecessary notices
  • ENHANCED: Better performance on comment sections and user listing pages

This update addresses user concerns about excessive database queries. If you experienced slow page loads with previous versions, this update will significantly improve performance.

1.0.2 – January 8, 2026

Major Update – New Features & Improvements

  • NEW: Centralized admin page for bulk profile picture management
  • NEW: Beautiful grid view of all users with avatars
  • NEW: Media library integration on user profiles
  • NEW: Hover actions – change/remove pictures instantly
  • NEW: User search functionality by name, email, username
  • NEW: AJAX-powered updates without page refresh
  • NEW: Pagination support for large user bases
  • IMPROVED: Smaller, more compact user cards for better overview
  • IMPROVED: Better responsive design for mobile/tablet
  • IMPROVED: Fixed header alignment and search box layout
  • IMPROVED: Enhanced UX with toast notifications
  • IMPROVED: Better attachment ID tracking for media library images
  • ADDED: Real-time image preview updates
  • ADDED: Success/error notification system
  • ADDED: Loading states for better user feedback
  • OPTIMIZED: CSS for better performance and smaller file size
  • FIXED: Email display now shows on hover to save space
  • FIXED: Responsive search form for mobile devices

1.0.1 – July 21, 2025

  • IMPROVED: Added proper namespacing for better code organization
  • IMPROVED: Enhanced error handling for image uploads
  • ENHANCED: Security with additional nonce verification
  • ADDED: Responsive styling for mobile devices
  • FIXED: Image preview display issues
  • IMPROVED: Cropping interface usability
  • ENHANCED: Proper sanitization for AJAX requests
  • ADDED: Alt text for better accessibility

1.0.0 – Initial Release

  • ADDED: Image upload functionality
  • ADDED: Interactive image cropping with Cropper.js
  • ADDED: AJAX-based image saving
  • ADDED: Responsive modal design
  • ADDED: Security with nonce verification
  • ADDED: Input sanitization and validation
  • ADDED: Avatar replacement system
  • ADDED: User profile integration

Plugin Website
Visit website

Version:
1.0.4
Last Updated
May 9, 2026
Active Installs
100
Requires
WordPress 5.6
Tested Up To
WordPress 6.9.4
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.