{"id":261710,"date":"2025-11-30T00:13:28","date_gmt":"2025-11-30T00:13:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/chargewp-front-end-avatar-upload\/"},"modified":"2025-12-03T17:28:45","modified_gmt":"2025-12-03T17:28:45","slug":"chargewp-front-end-avatar-upload","status":"publish","type":"plugin","link":"https:\/\/pe.wordpress.org\/plugins\/chargewp-front-end-avatar-upload\/","author":23396875,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.2","stable_tag":"2.0.2","tested":"6.9.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"ChargeWP - Front End Avatar Upload","header_author":"ChargeWP","header_description":"A simple, lightweight, and secure way for users to upload profile pictures directly from the WooCommerce My Account page, via shortcode, or block.","assets_banners_color":"cfcfcf","last_updated":"2025-12-03 17:28:45","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/chargewp.com\/plugin\/front-end-avatar-upload\/","header_author_uri":"https:\/\/chargewp.com","rating":5,"author_block_rating":0,"active_installs":20,"downloads":300,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"chargewp","date":"2025-11-30 00:13:19"},"1.0.1":{"tag":"1.0.1","author":"chargewp","date":"2025-11-30 00:13:19"},"1.0.2":{"tag":"1.0.2","author":"chargewp","date":"2025-11-30 00:13:19"},"2.0.0":{"tag":"2.0.0","author":"chargewp","date":"2025-11-30 00:19:12"},"2.0.1":{"tag":"2.0.1","author":"chargewp","date":"2025-11-30 12:10:42"},"2.0.2":{"tag":"2.0.2","author":"chargewp","date":"2025-12-03 17:28:45"}},"upgrade_notice":{"2.0.0":"<p>Rebuilt from the old \u201cCodeablePress - Simple Frontend Profile Picture Upload\u201d plugin. Existing avatars migrate automatically on activation.\nNote: user meta key changed from csfpp_avatar to chargewp_avatar.<\/p>\n\n<hr \/>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3405957,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3405957,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3405957,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3405957,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"chargewp\/avatar":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"chargewp\/avatar","version":"0.1.0","title":"ChargeWP Avatar","category":"chargewp","icon":"admin-users","description":"Display a user's avatar with upload and management capabilities.","textdomain":"chargewp-front-end-avatar-upload","render":"file:.\/render.php","editorScript":"file:.\/index.js","attributes":{"type":{"type":"number","default":0},"check_page_author":{"type":"boolean","default":false}},"supports":{"align":["left","right","center","wide","full"],"spacing":{"margin":true,"padding":true}}}},"tagged_versions":["1.0.0","1.0.1","1.0.2","2.0.0","2.0.1","2.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3405959,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3405959,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Avatar upload from the front for all users","2":"Delete and upload users avatars from the admin dashboard"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[129,232660,127,7894,286],"plugin_category":[44,45],"plugin_contributors":[251398],"plugin_business_model":[],"class_list":["post-261710","plugin","type-plugin","status-publish","hentry","plugin_tags-avatar","plugin_tags-frontend-upload","plugin_tags-gravatar","plugin_tags-profile-picture","plugin_tags-woocommerce","plugin_category-discussion-and-community","plugin_category-ecommerce","plugin_contributors-chargewp","plugin_committers-chargewp"],"banners":{"banner":"https:\/\/ps.w.org\/chargewp-front-end-avatar-upload\/assets\/banner-772x250.png?rev=3405957","banner_2x":"https:\/\/ps.w.org\/chargewp-front-end-avatar-upload\/assets\/banner-1544x500.png?rev=3405957","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/chargewp-front-end-avatar-upload\/assets\/icon-128x128.png?rev=3405957","icon_2x":"https:\/\/ps.w.org\/chargewp-front-end-avatar-upload\/assets\/icon-256x256.png?rev=3405957","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/chargewp-front-end-avatar-upload\/assets\/screenshot-1.png?rev=3405959","caption":"Avatar upload from the front for all users"},{"src":"https:\/\/ps.w.org\/chargewp-front-end-avatar-upload\/assets\/screenshot-2.png?rev=3405959","caption":"Delete and upload users avatars from the admin dashboard"}],"raw_content":"<!--section=description-->\n<p><strong>It just works.<\/strong><\/p>\n\n<p>ChargeWP Avatar Upload gives users a clean, intuitive way to update their profile photo without opening the dashboard.<br \/>\nIt\u2019s built for modern WordPress sites: secure, lightweight, and theme-friendly.<\/p>\n\n<h3>Key Features<\/h3>\n\n<ul>\n<li><strong>Instant front-end upload<\/strong> \u2014 update your avatar right on the page or in WooCommerce \u201cMy Account.\u201d  <\/li>\n<li><strong>SmartCrop.js built in<\/strong> \u2014 automatically centers faces for perfect, professional results.  <\/li>\n<li><strong>Gutenberg Block and Shortcode<\/strong> \u2014 add the avatar uploader anywhere you want.  <\/li>\n<li><strong>Gravatar friendly<\/strong> \u2014 keeps existing Gravatars in place and simply takes priority when a custom image is uploaded.  <\/li>\n<li><strong>Automatic cleanup<\/strong> \u2014 replaces old avatars so your media library stays tidy.  <\/li>\n<li><strong>Lightweight and native<\/strong> \u2014 no complex settings, no setup screens, and no bloat.<\/li>\n<\/ul>\n\n<h3>Why You\u2019ll Love It<\/h3>\n\n<ul>\n<li>Works straight out of the box.  <\/li>\n<li>Looks and feels like part of WordPress and WooCommerce.  <\/li>\n<li>Secure uploads with smart cropping and optimized JPEG output.  <\/li>\n<li>Supports all image types WordPress allows (JPG, PNG, WebP, and more).  <\/li>\n<li>Translation ready and developer friendly.<\/li>\n<\/ul>\n\n\n\n<h3>Usage<\/h3>\n\n<p>Shortcode example:<\/p>\n\n<pre><code>[chargewp_avatar type=\"0\" check_page_author=\"false\"]\n<\/code><\/pre>\n\n<p><strong>Attributes:<\/strong>\n- <code>type<\/code> \u2014 0 = avatar only, 1 = avatar + name + ID, 2 = avatar + name + ID + profile link. Default: 0<br \/>\n- <code>check_page_author<\/code> \u2014 true or false. When true, shows the page or post author\u2019s avatar instead of the current user. Default: false<br \/>\n- <code>classes<\/code> \u2014 Optional extra CSS classes for custom styling.<\/p>\n\n<p><strong>Block:<\/strong>\n- Insert the <strong>ChargeWP Avatar<\/strong> block in the editor.<br \/>\n- Adjust display type and author options from the block sidebar.<\/p>\n\n\n\n<h3>Developer Notes<\/h3>\n\n<ul>\n<li>Template overrides are supported. Copy files from<br \/>\n  plugins\/chargewp-avatar\/templates\/ to <code>yourtheme\/templates\/cwpa\/<\/code>.  <\/li>\n<li>Filters to disable automatic placement:<br \/>\n\n<ul>\n<li><code>add_filter('cwpa_auto_inject_wc_account', '__return_false');<\/code>  <\/li>\n<li><code>add_filter('cwpa_auto_inject_cwpd_sidebar', '__return_false');<\/code>  <\/li>\n<\/ul><\/li>\n<li>Filters to change display type:<br \/>\n\n<ul>\n<li><code>cwpa_avatar_type_wc_account<\/code>  <\/li>\n<li><code>cwpa_avatar_type_cwpd_sidebar<\/code><\/li>\n<\/ul><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload to <code>\/wp-content\/plugins\/chargewp-avatar<\/code> or install from <strong>Plugins \u2192 Add New<\/strong>.  <\/li>\n<li>Activate the plugin.  <\/li>\n<li>The avatar uploader automatically appears above the WooCommerce \u201cMy Account\u201d menu.  <\/li>\n<li>Or use the <strong>ChargeWP Avatar Block<\/strong> or shortcode anywhere you want.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20it%20replace%20gravatar%3F'><h3>Does it replace Gravatar?<\/h3><\/dt>\n<dd><p>No. If a user doesn\u2019t upload their own image, WordPress still uses Gravatar by default.<\/p><\/dd>\n<dt id='what%20image%20types%20can%20be%20uploaded%3F'><h3>What image types can be uploaded?<\/h3><\/dt>\n<dd><p>Any format WordPress supports, including JPG, PNG, GIF, and WebP. SmartCrop automatically converts and optimizes the upload to JPEG for performance.<\/p><\/dd>\n<dt id='can%20i%20style%20it%20differently%3F'><h3>Can I style it differently?<\/h3><\/dt>\n<dd><p>Yes. You can override templates in your theme or use the <code>classes<\/code> attribute for custom styles.<\/p><\/dd>\n<dt id='is%20it%20secure%3F'><h3>Is it secure?<\/h3><\/dt>\n<dd><p>Yes. Uploads use WordPress\u2019s built-in media handling, nonces, and capability checks. Old avatars are safely removed to save space.<\/p>\n\n<\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Updated plugin to support new 6.9 Wordpress<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Fixed an issue that could prevent the Avatar block from showing the upload icon to users on the frontend.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>First release under the ChargeWP brand.<\/li>\n<li>Added Gutenberg block and refined front-end experience.<\/li>\n<li>Optimized SmartCrop.js for lighter face detection and cropping.<\/li>\n<li>Improved upload validation, rate limiting, and feedback messages.<\/li>\n<li>Removed jQuery and Tailwind CSS dependancy.<\/li>\n<\/ul>\n\n\n\n<p><strong>ChargeWP Front End Avatar Upload<\/strong> makes changing your profile picture simple, fast, and natural.<\/p>","raw_excerpt":"Change your profile picture instantly from the front end.   Simple, fast, and built to feel like part of WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/261710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=261710"}],"author":[{"embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/chargewp"}],"wp:attachment":[{"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=261710"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=261710"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=261710"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=261710"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=261710"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=261710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}