=== Simple Frontend Avatar Uploader ===
Contributors: revaithub
Tags: profile, avatar, upload, frontend, user
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Allow users to upload their profile picture from the frontend using a shortcode.

== Description ==

Simple Frontend Avatar Uploader is a lightweight plugin that allows users to update their profile picture directly from the frontend. It uses the native WordPress media uploader for a seamless experience.

**Features:**
*   Frontend profile picture upload.
*   Uses WordPress Media Library.
*   Shortcode `[simple_frontend_avatar_upload]` to display the upload button.
*   AJAX-based upload for instant feedback.
*   Restrict uploads to specific user roles.
*   Customize image size and shape (Circle/Square).
*   Modern Admin Settings page.

== Installation ==

1.  Upload the plugin files to the `/wp-content/plugins/simple-frontend-avatar-uploader` directory, or install the plugin through the WordPress plugins screen directly.
2.  Activate the plugin through the 'Plugins' screen in WordPress.
3.  Go to **Settings > Avatar Uploader** to configure allowed roles and image settings.
4.  Use the shortcode `[simple_frontend_avatar_upload]` in any page or post to display the upload button.

== Frequently Asked Questions ==

= How do I use the plugin? =
Simply add the shortcode `[simple_frontend_avatar_upload]` to any page where you want the upload button to appear.

= Can I restrict who can upload? =
Yes, go to the settings page and select which user roles are allowed to upload profile pictures.

= Does it support custom image sizes? =
Yes, you can set the display size in pixels in the settings.

== Screenshots ==

1.  Frontend Upload Button (Circle)
2.  Media Uploader
3.  Admin Settings Page

== Changelog ==

= 1.0.0 =
*   Initial release.
