Add $50+
InstaWP Credits and receive

Validity: 2 March - 7 March, 2026

User Photo

User Photo

Allows a user to associate a photo with their account and for this photo to be displayed in their posts and comments.
Rating:
4.3
star-rating-1star-rating-2star-rating-3star-rating-4star-rating-5
Active Installations:
4000+
Last Updated:
Nov 28, 2017
WordPress Version:
3.0.5 or higher
Tested up to:
4.6.29

Easy profile photo upload

Allows users to easily upload and associate a profile photo with their account through the "Your Profile" page. Admins can also add a profile photo for users through the "Edit User" page.

User photo identification

User photos can be displayed within posts or comments, helping to identify the author. New template tags have been introduced to easily display the author's photo or thumbnail image.

Customize photo output

The output of the template tags can be customized by passing parameters such as before and after text, attributes, and default image source. This allows for personalized styling of the user photo display.

0.9.10

  • Added recommendation to upgrade in wp-admin/plugins.php
  • Provided option to never see the upgrade notice again

0.9.9

  • Removed deprecated mysql_ function

0.9.8

  • Optimised retrieval of administrators for settings page

0.9.7

  • Fixed WordPress deprecated notices

0.9.6

  • Fixed PHP notice about deprecated argument
  • Use semantic versioning for plugin files

2012-05-08: 0.9.5.2

  • Security issue (credit Ryan Hellyer).

2011-02-17: 0.9.5

  • Fixing major security issue (credit ADVtools SARL).

2009-7-28

  • Fixed a small bug relating to line 453 changing “home” to “siteurl”. Thanks Piotr!

2009-02-13

  • Added Catalan localization. Thanks Robert!

  • 2009-02-28 =

  • Added Italian localization. Thanks Federico!

2009-02-17

  • Added Brazilian Portuguese localization. Thanks gui!

2009-01-07

  • Added Hungarian localization. Thanks Csaba!

2008-12-11

  • Added French localization. Thanks Jean-Pierre!

2008-11-14: 0.9.4

  • Now displaying error message if wp_upload_dir() fails when trying to display a user photo.

2008-11-14: 0.9.3

  • Forcing the uploaded filename to lower-case

2008-11-03: 0.9.2

  • Updated error message to include results for wp_upload_dir()

2008-09-22: 0.9.1

  • Updated error messages to be more helpful (includes the paths in question). This will help debug some of the issues that have been raised on the forums lately.

2008-09-22: 0.9

  • First argument to userphoto() and userphoto_thumbnail() may now just be a user ID or user login name in addition to a user object.
  • New “Serve Avatar as Fallback” option; this is disabled by default.
  • New boolean function userphoto_exists($user) which returns true if the user has a photo and false if they do not. Argument $user may be user object, ID, or login name.
  • New option “Override Avatar with User Photo”; disabled by default.
  • Adding class="photo" by default if no class attribute is supplied
  • Fixed issue where thumbnail (and associated usermeta) wasn’t being deleted along with the full-size photo (thanks Oliver).
  • Now using wp_upload_dir() to get the basedir for where the userphoto directory will be located.

2008-08-01: 0.8.2

  • Verified that works in WP 2.6; added note explaining what the error message regarding what “image resizing not available” means… namely that the GD module is not installed.

2008-05-29: 0.8.1

  • Added localization for Russian (thanks Kyr!)

2008-05-17: 0.8.1

  • Finally updated the plugin for WP 2.5. Note that it still worked for 2.5, it’s just the admin interfaces needed to be updated. Also added userphoto() and userphoto_thumbnail() template tags.

2008-04-23: 0.8.0.5

  • Added localization for Polish (thanks Maciej!)

2008-04-04: 0.8.0.4

  • Fixed issue where incorrect path was being generated for default photo.

2008-04-04: 0.8.0.3

  • Using wp_mail instead of mail (Thanks again, Kyle.)

2008-03-28: 0.8.0.2b

  • Ensured that “unapproved” photos are not displayed. (Thanks Kyle.)

2008-02-24: 0.8.0.2

  • Made minor improvement to security.

2008-02-13: 0.8.0.1

  • Removed print_r() from being called when using $default_src (thanks David!)

2008-02-04: 0.8

  • Allow before and after text to be outputted when there is a user photo.
  • Allow attributes to be passed into template tags, including a default SRC value to be used when there is no user photo.
  • Added Dutch localization translated by Joep Stender (thanks!)

2008-01-07: 0.7.4b

  • Added German localization translated by Robert Harm (thanks!)

2008-01-06: 0.7.4

  • Added support for localization and added Spanish localization translated by Pakus (thanks!)

2008-01-02: 0.7.3

  • Fixed issue where the post author photo was inadvertently used for non-registered comment author photos.

2007-12-28: 0.7.2

  • Improved error message raised when unable to create ‘userphoto’ directory under /wp-content/uploads/. It now asks about whether write-permissions are set for the directory.
  • Improved the plugin activation handler.
  • All uploaded images are now explicitly set to chmod 666.

2007-12-22: 0.7.1

  • All functions (and template tags) now are prefixed with “userphoto_”

2007-12-18: 0.7.0.1

  • Now using siteurl option instead of home option
  • Fixed the inclusion of the stylesheet for the options page

Todo

  1. When changing the authorization level, all previous users’ photos should be automatically approved if they meet the minimum user level
  2. Include a get_userphoto() and get_userphoto_thumbnail() ?
  3. Add a management page to allow admins to quickly approve/reject user photos.
  4. Add option so that when a photo is rejected, the user is notified.
  5. Restrict image types acceptable?
  6. Add an option to indicate a default photo to be used when none supplied.

Shortecodes

By mahdiasadi77 on December 6, 2020

does it have any shortecode for displaying in pages?

Works with 4.7.6

By noticierodigital3 on October 3, 2017

Works with 4.7.6

Perfect

By markusthayer on September 3, 2016

Works fine!

works fine for me

By daneshva on February 8, 2017

Thank you!

Try other plugins too!

Unique Headers

Adds the ability to use unique custom header images on individual pages, posts or categories or tags.

Try Demo More Details

Auto-sizes for Lazy-loaded Images

Instructs browsers to automatically choose the right image size for lazy-loaded images.

Try Demo More Details

Basic User Avatars

Add an avatar upload field on frontend pages and Edit Profile screen so users can add a custom profile picture.

Try Demo More Details
Screenshots
Author Site Author Site

Try User Photo With InstaWP

Contact Sales

Reach out to us to explore how InstaWP can benefit your business.