Paste this snippet anywhere in your theme’s template files to display the avatar of a logged-in user. I think it works well to put just above the comment form in your single.php file so that the user sees his photo above the comment form, encouraging him to have something to say. Check out the screenshot below of this snippet in action.
Here’s the code:
<?php global $current_user; get_currentuserinfo(); echo get_avatar( $current_user->ID, 128 ); ?>
Source: aext.net
Featured Plugin - Send beautiful html email newsletters, from WordPress!
Now there's no need to pay for a third party service to sign up, manage and send beautiful email newsletters to your subscriber base - this plugin has got the lot.
Find out more
Featured Plugin - Open an Online Store with MarketPress
Out of all the WordPress ecommerce plugins available, this has got to be the winner - easy to configure, powerful functionality, multiple gateways and more. A simply brilliant plugin!
Find out more
Featured Plugin - Start Your Own Powerful Membership Site
If you're thinking about starting a paid, or just private, membership site then this is truly the plugin you've been looking for. Easy to use, massively configurable and ready to go out of the box!
Find out more
Featured Plugin - Host sites, get paid, just like WordPress.com
If you've ever wondered how you could offer a paid site management and hosting service, then this is the plugin for you. Offer a freemium or paid service, for any niche you like, it's powered Edublogs.org to success already!
Find out more
Featured Plugin - Every great SEO tweak you need, in one snazzy bundle
Fully integrated with the SEOMoz API, complete with automatic links, sitemaps and SEO optimization of your WordPress setup - this is the only plugin you need to help you rank your site number 1 on Google - nothing else compares.
Find out more
Featured Plugin - WordPress + Google Maps = Perfect
Simply insert google maps into posts, sidebars and pages - show directions, streetview, provide image overlays and do it all from a simple button and comprehensive widget.
Find out more
Featured Plugin - Easily integrate your WordPress site with Facebook
Would you like to add Facebook comments, registration, 'Like' buttons and autoposting to your WP site? Well, The Ultimate Facebook plugin has got that all covered!
Find out more
Featured Plugin - Add bottom corner (or anywhere else) chat to your site
No javascript required, no third part chat engine, just fully featured chat right in your own database on your own WP sites - couldn't be easier.
Find out more
Featured Plugin - Start your own Quora / StackOverflow / Yahoo Q&A site
It's now incredibly easy to start your own Q&A site using nothing more than WordPress - The Q&A plugin simply and brilliantly transforms any site, or page, into a perfect support or Q&A environment.
Find out more




If you have BuddyPress installed, you could use:
ok, so this form doesn’t like php :)
let’s try again:
` bp_loggedin_user_avatar( ‘width=25&height=25′ ) `
thanks, great ideea sarah.
I would like to know how can you make a field where people that have registered accounts can upload their avatar by a link (ex imageshack, etc.)
i don’t want to use gravatars because the group of people that enter my blog don’t have accounts and some of them don’t even know what gravatar is.
Thank you.
Hello!
I have a problem, when reply a comment the avatar disappers…do you know how to solve this?