WordPress.org

Cymraeg

  • Themâu
  • Ategion
  • Newyddion
  • Ynghylch
  • Diolchiadau
  • Cysylltu
  • Cael WordPress
Cael WordPress
WordPress.org

Plugin Directory

Profile Picture

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Profile Picture

Gan Arul Jayaraj
Llwytho i lawr
  • Details
  • Reviews
  • Installation
  • Development
Cefnogaeth

Disgrifiad

Users can set his profile picture from admin end and as well as Front End.

Admin End it would come automatically based on the user role, who has upload_files capability, otherwise we need to assign capability to them.

In Front End when we use <?php do_action('edit_user_profile',$current_user); ?> on edit profile section, it would be placed on additonal user profile fields.

*Future Updates: Display current user images alone, short code and migrate withsocial media profile pictures.

Lluniau Sgrin

  • Add profile image field in admin end.

  • After uploading and saving your selected image.

  • Show the same profile image feature in front end.

Gosod

  1. Upload profile-picture folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Profile in admin end / Go to profile edit in front end

Note: If you want to add this feature to default scbscribers and contributors, Enable this action hook <?php add_action('admin_init', array($this,'allow_uploads_permission') ); ?> from the ProfilePicture class.

Cwestiynau Cyffredin

Profile Picture upload permissions about users?

Currently, who has the capability of upload_files they can upload profile pictures.
Editors and Admins can upload and edit files.
Authors can only upload files.
Subscribers and Contributors cannot do either Need to enable add_action('admin_init', array($this,'allow_uploads_permission') ) in our class file.

How to show the profile image in frontend?

We can show our customized profile picture in front end whereever you want with registered image sizes. You may use wordpress get_avatar() function by default, else user our customized one it serves by your wish..

id_or_email (integer|string|object) (required ) You may pass user id, email or user object here.

width (integer) (optional) Width of the image.

height (integer) (optional) Width of the image.

alt (string) (optional) alt title of image tag.

Return Values It would return profile picture details as array or false on failure.

Adolygiadau

Good idea

Christopher Medi 3, 2016 1 reply
…but it didn’t actually work on my website.

Cool plugin, Easy to use. Keep it up.

Vijay Medi 3, 2016
Hey! It is easy to use, nice guide for installation and usage. Keep it up.

A good thought that needs a little more tweak

wpmohan Medi 3, 2016
A good idea to handle user images within a wordpress site without having to painfully setup a Gravatar Profile. Expecting update to the current version with Image Priviliges to view & select only user’s own uploads in Media library. Keep Updating, Keep Coding! [ Signature moderated ]
Read all 4 reviews

Contributors & Developers

“Profile Picture” is open source software. The following people have contributed to this plugin.

Cyfranwyr
  • Arul Jayaraj

Translate “Profile Picture” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

1.0

Beta Release

Meta

  • Version 1.0
  • Last updated 9 blynedd yn ôl
  • Active installations 90+
  • WordPress version 3.0 neu uwch
  • Tested up to 4.5.32
  • Language
    English (US)
  • Tags
    custom profile pictureprofile photoprofile pictureuser photouser profile picture
  • Advanced View

Graddau

4.3 out of 5 stars.
  • 1 5-star review 5 stars 1
  • 2 4-star reviews 4 stars 2
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Ychwanegu fy adolygiad

See all reviews

Cyfranwyr

  • Arul Jayaraj

Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

Gweld y fforwm cefnogi

  • About
  • News
  • Lletya
  • Preifatrwydd
  • Arddangos
  • Themes
  • Ategion
  • Patterns
  • Learn
  • Support
  • Datblygwyr
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Rhoi ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Cymraeg

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Ewch i'n tudalen Facebook
  • Ewch i'n cyfrif Instagram
  • Ewch i'n cyfrif LinkedIn
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Cynghanedd yw Cod