Simple Local Avatars

Add an avatar upload field to user profiles. Generate requested sizes on demand, just like Gravatar.

Adds an avatar upload field to user profiles if the current user has media permissions. Generates requested sizes on demand just like Gravatar! Simple and lightweight.

Just edit a user profile, and scroll down to the new “Avatar” field. The plug-in will take care of cropping and sizing!

  1. Stores avatars in the “uploads” folder where all of your other media is kept.
  2. Has a simple, native interface.
  3. Fully supports Gravatar and default avatars if no local avatar is set for the user – but also allows you turn off Gravatar.
  4. Generates the requested avatar size on demand (and stores the new size for efficiency), so it looks great, just like Gravatar!
  5. Lets you decide whether lower privilege users (subscribers, contributors) can upload their own avatar.
  6. Enables rating of local avatars, just like Gravatar.

Avatar upload field on a user profile page

  • Rating
  • Requires 6.5+
  • Downloads 1,987,180
  • Updated 2024-11-18
  1. When you click on an author, the photo and the bio disappear…Can you please indicate how to resolve this issue?

    Thank you.

    • Not sure I understand, but it sounds specific to your theme.

  2. Thank so much, very good

  3. Hi Jake,
    The plugin works great but is it possible to limit the size (or weight) of the image file used as avatar?
    Some blog users have used +6MB images that including caused wordpress core issues (users list not showing).

    Thank you!

  4. Hey, my site has recently installed your plugin, it worked well except that the image size of avatar on comment page is very large, so what cause that and what can i do to fix it?

    • I am using WP 3.4.2 and simple local avatar 1.3.1

  5. Hi, is there a way to have avatars applied to older comments? I’ve noticed that they only show up on newer posts (authored after the plugin was installed and activated). It’d be great to have them show up for ALL posts. Thanks!

    • It does already. Maybe a caching issue on your end?

  6. Localization does not work. You should add this code:
    load_plugin_textdomain(‘simple-local-avatars’, false, basename( dirname( __FILE__ ) ) . ‘/localization’ );

  7. Avatar file name should not be based on display name but on username.

    If the display name contains german umlauts like äöü or other “weird” utf-8 chars, it will end up as a filename like “Türk_avatar.jpg” if the display name is “Türk”.

    Filenames like this cause many problems when being backed up / restored by a plugin or if the wordpress site is copied to a different operating system or server, like linux to windows or similar.

    Workaround for current version 1.3.1:

    http://wordpress.org/support/topic/avatar-file-name-should-not-be-based-on-display-name

  8. I started using your plug-in . Thank you for creating it.

  9. Great plugin, except for the imprementation of cropping. It can’t be automatic, there has to be some control. I just end up with chopped off heads most of the time.

  10. Yes awesome Plug-ing but it think is not support all file format. can you make if for all image format.. that could be good.

  11. Love the plugin, mate. Clean and easy to use. One quick question: I’m trying to get the ‘preview’ avatar on the user’s profile page to display at 60×60 pixels. I’ve edited the 2 places in the SLA code to read ’60’ rather than ’96’, however the ‘preview’ avatar wants to keep scaling to 96×96. How do I fix this? (I’m using the ClassiPress theme). Thanks and Cheers.

    • I wondered the same thing but managed to fix it. Line 125 has
      ID ); ?>
      replace with
      ID, 60); ?>

  12. Please, add opportunity to choose the folder for loading

  13. What code can be used to show the image of the author’s avatar?

  14. Hi, iwould like to bring up the qurstion from sergio (6. sep. 2012)

    When a user uploads a big file, the site crashes for this user until i delete the file manually from ftp.

    Is possible block big files upload?

    i have the same problem. any solutions available :)

    daniel

  15. Hello !

    My host 1&1 does not tolerate an avatar of great weight. It kills the site.
    In addition, it is absolutely worthless to upload an avatar from a Mo!

    I limited the size in the configuration file plugin, but it has no effect when downloading.

    So I wanted to know how to limit the weight of an avatar to download.
    Like, when it is over 200KB, an error message appears.
    And view this as instruction next to the box download?
    I tried to edit the language file and it does not change anything!

    Thank you for your help!
    Beautiful day,

    Ingrid

  16. Really like the simplistic approach of the plugin. Although it can be hard-coded easily, but its precious for lazy people like me. :P

  17. is there any shortcode for this to display in front-end…

  18. Great Plugin! Do you know how to embed into custom profile page (like wp-members o plugins like this?)
    Thanks you!

  19. Is there any way to display (and upload) user avatar with different width and height? I’d like to set a max_height (i.e. 90px) and have the uploaded image width re-sized subsequently. Thank you in advance for your answer!

    • Not currently, and not sure this will change. The plug-in emulates the Gravatar functionality, and just makes it local. Gravatar does not support non-square proportions.

  20. Hey Jake and thanks for the awesome plugin! Would it be possible to add a shortcode that displays the uploader? I have a front end user profile system using the Profile Builder plugin but it does not display your plugin on the front end.. any ideas?

    • I see this as bloat in the current plug-in, but there are third party plug-ins that do display avatars via shortcode, and should be compatible.

      • Hello Jack..!!
        you have done grt with this plugin.

        But can you be more specific to this at front what i need to do for upload at front.
        i want this simple.. but urgent.
        you can suggest me.
        any help would be grt to me.

Leave a Comment

Finely crafted websites & tools that make the web better.