Easy Gravatars Plugin

Since so many people seemed to be interested, I went ahead and coded up my new Gravatars plugin: Easy Gravatars. It’s designed to be simple to use — just upload and activate. If you want it to be a little harder, you can visit the plugin’s options page to set the size and rating for the gravatars, and even set the location of a default image, and tweak the CSS a little bit.

Download: easygravatars.zip

I’m going to put it in the WordPress Plugin Repository when I get a chance. Once that’s done, I’ll update this post with the new location.


Update, 2007-11-16: The plugin is now in the repository, and you should now be able to see that version 1.1 is available: Easy Gravatars Plugin

Stumble It!
Easy Gravatars Plugin

Related posts:

  1. Easy Gravatars with Google Analytics Plugin
    " Several people have reported problems using my Easy Gravatars plugin together with Joost de Valk’s Google Analytics Plugin for WordPress. I spent some time..."
  2. Easy Gravatars version 1.1
    " My Easy Gravatars plugin is now in the WordPress Plugin Directory, and I’ve released version 1.1. Changes: Gravatar images now link to comment author’s..."
  3. Easy Gravatars 1.2
    " Earlier today, I released Easy Gravatars version 1.2. The only change (besides confirming that works in WordPress 2.5, currently in beta, due out next..."
  4. Gravatars
    " Even before the recent announcement about Gravatar joining Automattic, I had been wanting to turn on comment avatars here. I nabbed Matt’s code, fooled..."
  5. WordPress 2.5 Beta
    "I just upgraded this site to WordPress 2.5 Beta. So far, everything appears to be working just fine. And since I know lots of people..."
This entry was posted in Plugins, WordPress and tagged , , , , , , , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

96 Comments

  1. Jeffro2pt0 jeffro2pt0.com
    Posted November 11, 2007 at 4:14 pm | Permalink

    I am having difficulty seeing gravatars in IE but they appear fine in FireFox. Also, this plugin seems to overlap everything in my commenting section. I’d rather have a line of PHP code to place into my comments.php file to really embed the avatar in the commenting area of the site.

  2. Loden Jinpa lodenjinpa.com
    Posted November 16, 2007 at 5:30 pm | Permalink

    thanks :)

  3. Power power.org.mx
    Posted November 16, 2007 at 8:15 pm | Permalink

    Beauty work ^^

  4. Bardulf bardulf.co.uk
    Posted November 16, 2007 at 8:26 pm | Permalink

    Thanks for this plugin. I like the idea of it, and have installed it on my site, but it isn’t showing my gravatar in my comments — and won’t show anyone else’s as yet because I’m only just setting a blog up. So I thought I’d leave a comment here, to say thanks, and to see if my gravatar showed up here. Cheers!

    Mmm, only the default image here too. Must be a problem with the gravatar end then. Odd. I wonder if it might be because it’s a newly set up gravatar.

  5. Frozen frozen.sealhat.com
    Posted November 18, 2007 at 3:47 am | Permalink
  6. Dougal dougal.gunters.org
    Posted November 19, 2007 at 10:44 am | Permalink

    Frozen: No, you do not need anything else for it to work.

  7. bigdadgib bigdadgib.net
    Posted November 21, 2007 at 2:22 pm | Permalink

    Thank you. Too Cool! :)

  8. danithew blognitivedissonance.com
    Posted November 30, 2007 at 2:30 pm | Permalink

    For some reason my blog is putting up little squares/rectangles but they are empty of gravatar images. I don’t know what is causing the problem. Any ideas?

  9. try
    Posted December 26, 2007 at 2:47 pm | Permalink

    just trying it out :-)

  10. Dougal dougal.gunters.org
    Posted December 31, 2007 at 9:35 am | Permalink

    Get the latest version of the plugin from the Plugin Repository.

  11. chuck charles-song.com
    Posted January 22, 2008 at 1:08 pm | Permalink

    Hi Doug, this is a somewhat banal question, but how do I get the gravatar into the little quote boxes on my site? That’s the only thing that’s keeping this from being utter perfection, and it’s due to my suckage at coding. Thanks for a great plugin.

  12. Dougal dougal.gunters.org
    Posted January 22, 2008 at 1:43 pm | Permalink

    chuck: Try setting your span style in the Easy Gravatar options to this (note the new ‘margin-top’ bit at the end):

    float: right; margin-left: 10px; display: block; width: 40px; margin-top: -0.5em;

  13. Zołak zolak.lacinka.org
    Posted February 4, 2008 at 3:34 pm | Permalink

    Very good one! Thank You!

  14. Kev irefutabilnews.ro
    Posted February 10, 2008 at 4:51 pm | Permalink

    testing

  15. Mico russianmoon.com
    Posted February 12, 2008 at 7:55 pm | Permalink

    I tried editing the easygravatars.php file (in the WP plug-in editor), as I thought you meant in your comment #25. No success for any values of margin-top, negative or positive. The image seemed glued at its upper left corner.

    However, when I made the change in the EasyGravatar *Options* screen, as you said in comment #62, it worked! Can you tell me why? Also, is there a reason you specified vertical displacement in ems rather than px?

    Thanks for your work and especially for your support by answering all these pleas for help. You’re a champ!

  16. Dougal dougal.gunters.org
    Posted February 14, 2008 at 9:20 am | Permalink

    …when I made the change in the EasyGravatar *Options* screen, as you said in comment #62, it worked! Can you tell me why? Also, is there a reason you specified vertical displacement in ems rather than px?

    Mico: Changing that value in the plugin code won’t matter, if the plugin is already installed and activated. At that point, the option is already saved in the database, and it will always look at that. So, when you change it via the Options page, you are setting the value that it really wants to use, see?

    As far as why I used em instead of px, it’s because there’s no way for me to know what px size you have chosen on your site. The em measure is always relative to whatever your preferred text size is, so a value like margin-top: -1em; should always (well, in most cases) move the image up by one text line. But if you want to set it in pixels instead of ems, go ahead, that’s why the options are there — so you can set it the way you want it.

  17. yorick daniel-yorick.com
    Posted February 16, 2008 at 6:33 am | Permalink

    Wonderful, Thanks :)

  18. Jorge stormymondays.com
    Posted March 5, 2008 at 7:38 am | Permalink

    Something happened to the plugin, I think today: when a Gravatar is not found, the default image is not read, a blank square from Gravatar is shown instead. Any idea why?

  19. mark soddengecko.com
    Posted March 8, 2008 at 1:54 pm | Permalink

    hi

    brilliant plugin, this is the only gravatar plugin that has actually worked for me. I have noticed a few people who have left comments are moaning that it does not allow them to do certain things like styling etc. I have made some ammendments to the plugin to allow this. I won’t be offering it as a download but for those who are interested you can email me and I will help you out (all of this with the plugin authors permission of course.)

    here are a few things I have done:

    I took out the image tags to better control styling within the templates
    i added a blank target so author urls will open in a new page (very handy for myself)
    i added a few more option to the drop down box on the admin page so you can link the image to other comment_author tags, this helps with styling and gives more control.

    I have yet to upload to my live site (will be shortly) so if anyone wants more info just drop me a line.

    Dougal:
    I hope these amendments are ok, and if you would like to drop me line please feel free.

    Mark…

  20. Shane shane-holden.com
    Posted April 25, 2008 at 3:46 pm | Permalink

    Awesome plugin! Going to be installing it very very soon. Thanks!

  21. krisel cheenkeei.page.ph
    Posted May 13, 2008 at 9:21 am | Permalink

    I been waiting for this plugin.. thank you so much..

  22. Posted May 14, 2008 at 9:29 am | Permalink

    Doesn’t seem to work

  23. Shane shane-holden.com
    Posted May 18, 2008 at 8:31 pm | Permalink

    Thanks for the great plugin! Is there an easy way to use the Gravatar’s Identicons w/ this plugin? Thanks!

  24. Dougal dougal.gunters.org
    Posted May 21, 2008 at 12:08 pm | Permalink

    Shane: yes — just type ‘identicon’, ‘monsterid’, or ‘wavatar’ as the Default image url in the Easy Gravatars settings. I’ve been meaning to post about this, but just haven’t had time yet.

  25. Posted June 1, 2008 at 10:27 pm | Permalink

    how do you make the gravatar icon not link to the person’s site?

  26. kazounet rigolol.eu
    Posted June 17, 2008 at 6:13 am | Permalink

    Thank you for this nice plugin :)

  27. David threetwelve.net
    Posted July 7, 2008 at 1:12 pm | Permalink

    Hi there–

    I’m 127% sure this is the stupidest question you’ll receive today, but…

    How can I force each comment to appear on a new line, rather than stacking up horizontally when an earlier comment isn’t long enough to scroll past the gravatar image? (In the screenshot at http://threetwelve.net/images/misc/egscreenshot.jpg, for instance, the text “David posted the following…” should line up with “Amie posted the following…” above it, rather than appearing to the right of Amie’s gravatar.)

    Thanks for whatever wisdom you can provide!

    : )
    David

  28. Posted July 10, 2008 at 7:02 pm | Permalink

    Just testing

  29. David threetwelve.net
    Posted July 22, 2008 at 4:42 pm | Permalink

    I got it–I had two plugins competing for comment style. :-p

  30. klaas orketas.com
    Posted July 28, 2008 at 7:55 am | Permalink

    Ye i whas wondering wich plugin i need for this.Becuas it is a great thing.
    Going to download it now and will try it out.\/\/

  31. Posted August 6, 2008 at 1:30 am | Permalink

    test

  32. vladm oknaport.ru
    Posted August 30, 2008 at 6:44 am | Permalink

    ?? ??… ??? ??? ? ?????????: ? ??? ?????? ????????? ? ??????.:)

  33. Posted September 4, 2008 at 11:27 am | Permalink

    This is a cool plugin, thanks Doug.

  34. Thai SEO ronakorn.com
    Posted September 6, 2008 at 6:27 pm | Permalink

    Thanks for this plugin!!!

  35. dikma dikma.web.id
    Posted October 21, 2008 at 8:42 am | Permalink

    thanks

  36. dikma dikma.web.id
    Posted October 21, 2008 at 8:48 am | Permalink

    why, this plugins no active in blog ..
    it not displayed pict

  37. rambochai rambochai.com
    Posted November 1, 2008 at 2:06 am | Permalink

    i still dont know how to use it — after i have install still can’t appear —

    will try again —

  38. abbie beblogger.co.cc
    Posted November 1, 2008 at 11:40 am | Permalink

    Nice plugin!
    Thanks for giving it free.. :)

  39. Sohail pakblogger.com
    Posted November 5, 2008 at 8:09 pm | Permalink

    Hi there
    Great plug mate. I am just having one problem with it and that is “i can’t remove the border of avatar”. Please tell me how can i do that

  40. Sohail pakblogger.com
    Posted November 5, 2008 at 8:10 pm | Permalink

    I can not remove the border of avatar image how to do that?

  41. Goji business findoptimalhealth.com
    Posted December 27, 2008 at 2:22 am | Permalink

    Really good plug in.But i wonder something about this plug in.If someone created easy gravatar from another site and commented in my site does gravatar seems?Or must he create one gravatar from my blog?

  42. d4v intensedebate.com
    Posted December 31, 2008 at 4:12 am | Permalink

    I am not getting random wavatars, just the same one no matter who is the author

  43. David davidlevitt.com
    Posted January 10, 2009 at 10:27 am | Permalink

    I just found your site, I need to get a gravatar – thanks for the plugin, off to d/l now

  44. Genry medsrxshop.org
    Posted September 23, 2009 at 6:51 am | Permalink

    I really like, thanks!

  45. nick aviles nickaviles.com
    Posted October 16, 2009 at 11:00 pm | Permalink

    thanks a lot for the plugin :)

  46. e?itim seti egitimsetim.net
    Posted February 18, 2010 at 10:36 am | Permalink

    But it doesn’t seem to be pulling my gravatar. At first it wasn’t doing so because I had actually created my blog and my gravatar under different emails. I’ve since added a gravatar to the admin email address and it is still showing the default gravatar. I used that admin email address here and it is showing the correct one. :(

45 Trackbacks

Post a Comment

Your email is never published nor shared.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting