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!
- Stores avatars in the “uploads” folder where all of your other media is kept.
- Has a simple, native interface.
- Fully supports Gravatar and default avatars if no local avatar is set for the user – but also allows you turn off Gravatar.
- Generates the requested avatar size on demand (and stores the new size for efficiency), so it looks great, just like Gravatar!
- Lets you decide whether lower privilege users (subscribers, contributors) can upload their own avatar.
- Enables rating of local avatars, just like Gravatar.
Jiangshui on
Hi Jake, your plugin is simple but powerful, and i have one question when i use it.
In my author.php file i want to show current author’s avatar, i use ‘get_avatar( get_the_author_meta(‘ID’), $size = ‘300’, $default = ”, $alt = false )’ ,but this code will get the Gravatar avatar, how can i get the avatar from your plugin?
Think you!
Jake Goldman on
If that user ID has a local avatar, that code will retrieve it.
Wadud on
Hi Jake,
I’ve install your plugin “Simple Local Avatars” in my blog. But it’s not working. It’s showing a message, the message is “Warning: Missing argument 2 for Simple_Local_Avatars::get_avatar() in ……./wp-content/plugins/simple-local-avatars/simple-local-avatars.php on line 64”. Can you please provide me a instruction about resolve the error.
Billy on
How does this handle a multisite install? Where do the uploaded author images get stored (authors may be assigned to multiple sites).
Jake Goldman on
Yes, it supports multisite.
kris on
Hi! it is a very nice plugin,
but is it possible to disable gravatars completely / to replace them with the default avatar stored locally for all users?
I mean, so gravatars do not show at all on the upload your own avatar form?
that would be very handy if it was possible, as I need a simple avatar for bbpress forums (and ability for users to edit their profile and upload from the front end their own avatar) but gravatars should be invisible/disabled..
Brandon White on
Hi Jake,
I recently transferred domains and am having issues with this plugin, I reconfigured wordpress, and changed the database entries for my existing users manually already.
After doing all of that to get the upload paths and paths to existing files set up, it is still showing the default user image. Please help.
Brandon White on
Also, I have debugged it to the point of when it fetches the actual location of the file from the database. It returns when it checks to see if $local_avatars[‘full’] is empty. Any idea why there would be a missing link there from a domain transfer?
Paulo on
Hi, I am trying to limit the max file size to the image.
This is what I am doing in my theme functions.php
function pdo_avatar_limit($size) {
$size = 102400;
return $size;
}
add_filter(‘simple_local_avatars_upload_limit’, ‘pdo_avatar_limit’);
I dont know what is the problem, but it seems that the filter is never called because a can upload big images (even if I do $size = 10;)
Jake Goldman on
Hmm. Will need to investigate.
Samuel Roshan on
Hi Jake,
Your Plugin is truely awesome! I am building a custom profile page for my website and need to include the Avatar “browse” button on the page.
Will using the get_avatar function help me? If is there more code required? I am relatively new to WP, but will be able to manage with some guidance. Thanks for the help! :)
Jake Goldman on
The upload functionality is really built for the backend / profile screen, you can hack around that, but I don’t really support it, since there are so many approaches. get_avatar() will only show the avatar.
Jonathan Romero on
:O You’re amazing! Thank you for your plug-in. Greetings from mexico
sil3r on
Hey, your plugin works from the frontend with bbpress but not with wp userfrontend why ?
Guillermo on
Hello,
The user (colaborator) can´t upload image avatar
its using WP 3.61 and simple local avatar 2.0
Daemon on
Hello. Thanks for the plugin, but I was wondering how to prevent users from being able to select from the library. Thank in advance.
Jake Goldman on
Users who do not have media library permissions can’t access it.
Jan on
Which permission has to be granted exactly? I gave them upload_files. Users can upload avatars, but its not loading when the site loads.
Thanks in advance,
Jan
Jan on
If found the pictures in FTP with chmod 666. But the aren’t displayed…
Yousif on
Sorry for the confusion, I meant to say head as in and not header.
Yousif on
Actually, it only gets the correct URL if its put inside the loop.
Gravatar Privacy Issues « Lewis' Blog on
[…] this site, I do not use Gravatars, opting instead for the WordPress plugin Simple Local Avatars. In the comments for Site updates & more updates!, we had some discussion of Gravatar […]
Rahul on
Hi
I use ur plugin and I have a question. How can I display the avatar on post??
Thanks
Jake Goldman on
You’ll need to edit your theme template or use another plug-in that does so. This plug-in merely allows you to define a local avatar; it doesn’t change presentation in your theme.
Starting a Multi-Author Blog on
[…] needed avatars for all my authors, so I used the plugin Simple Local Avatars. I added the plugin, and in each author’s user profile an “avatar” section popped […]
Marcel on
Do this works in combo with bbpress?
Jake Goldman on
It’s compatible with bbPress (it will show local avatar), though it is not specifically built for its front end profile editor.
robert m on
Hi, I love your plugin and really would like to start using it, but there is one request that’s important for me: Enable users to manually crop their picture at upload.
Sometimes the user will upload a large picture in portrait mode, the automatically cropped avatar will then only show the middle (belly) of the person in the picture :D
It would be very nice to let users select a crop area (square 1:1 ratio) so they can choose their face or something else specific at the photo.
Sunday Adenuga on
Thanks for creating this beautiful plugin, I had been looking for how to show my picture in the avatar of my website, your plugin did the job without stress, thank you.
Ben on
How could I get this to work with WP User Front end?
Jake Goldman on
It’s not really set up for that, right now. Might be something we add in the future.
Patrik on
Hi Jake,
Front end support would really be great, since we’re looking into running WP with Classipress, requiring users to register for participating in the trade. Any hope for SLA to support front end in the near future? Gravitar is just too nerdy for our users.
Jake Goldman on
The problem with front end support is that every front end profile plugin / implementation has its own quirk: there’s no standard.