AM-Avatar
AM-Avatar
Description
AM-Avatar is a lightweight and efficient WordPress plugin that allows users to upload custom profile pictures directly from their user profile page.
Key features:
* Automatic WebP Conversion: All uploaded images are automatically converted to WebP format for superior performance and smaller file sizes.
* Smart Integration: Seamlessly replaces the default Gravatar section on the profile page using a native-looking interface.
* Organized Storage: Keeps your uploads folder clean by storing all avatars in a dedicated /uploads/am-avatar/ directory.
* Settings Page: Includes a dedicated settings menu to manage plugin preferences.
* Cleanup Option: Choose whether to permanently delete all uploaded data and settings when the plugin is uninstalled.
* Security First: Includes Nonce verification, strict sanitization, and WP_Filesystem API integration.
* Performance: Automatically resizes images to 150x150px to ensure fast loading times.
* Privacy Friendly: No external calls to Gravatar servers when a custom avatar is set.
Installation
- Upload the entire
am-avatarfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- (Optional) Go to ‘Settings’ -> ‘AM-Avatar’ to configure cleanup preferences.
- Go to your ‘Profile’ page to upload your new custom avatar.
Screenshots
Faq
All custom avatars are stored in the wp-content/uploads/am-avatar/ folder.
Yes, the plugin automatically deletes the previous avatar file from the server when a new one is uploaded or when you choose to delete your custom picture.
You can control this in the plugin settings. If the “Delete data on uninstall” option is checked, all uploaded images and database entries will be permanently removed upon deletion. Otherwise, the files remain on your server.
Reviews
Changelog
1.0
- Initial public release.
- Added WebP conversion and 150px auto-resize.
- Integrated into the native profile picture section using jQuery.
- Added dedicated Settings page for admin control.
- Implemented secure uninstall cleanup functionality.
- Added Security Nonce verification, sanitization, and WP_Filesystem integration.
- Multi-language support (i18n).
- Available languages: English, Hungarian