Oct
17th

What’s an Avatar? What’s a Gravatar? How do I install them on my blog?

An avatar is a picture or illustration that you’d like to use to represent yourself on the web. I love avatars and wherever possible I attempt to upload my picture - not because I love my picture but because I would like to be recognizable no matter the site. If you take the time to start conversations and comment on other blogs, why not make yourself more visible by having an avatar?

Every single day I take a look at the widgets in my sidebar to see who’s been visiting, and often time I go visit their blog if I’ve not been there in a while. A face, graphic, or symbol is much more recognizable than simply a name and a link. It’s such a pleasant surprise to find one of my ‘virtual friends’ on another site, blog, or application.

Gravatar is a site where you can upload your avatar once and any application can use their API to serve that image on your application or blog. I’ve also had a Gravatar for quite some time, but the service has been somewhat spotty… up and down. This would cause your application or blog to load slowly. But that’s all changed now!

Gravatar was acquired by Autommatic!

I’ve added Gravatars to my blog now that I know Autommatic has acquired Gravatar. You should integrate them on your application or blog as well - and it’s quite simple to do! At Gravatar’s site, you’ll find all the implementation guides that you need to integrate Gravatars into your site!

Integrating Gravatars in Wordpress

Here’s how to implement Gravatars in WordPress:

  1. Download the Gravatars plugin for WordPress and upload it to your wp-content/plugins directory.
  2. Enable the plugin.
  3. Within your comment.php file, place the image within your comment where it can be easily seen. I right-aligned mine, shrunk it down a little, ensured that the content of the avatar was appropriate and also utilized a different default Gravatar (the Gravatar default is ridiculously hideous), here’s how:

    <img src="<?php gravatar("R", 40, "http://marketingtechblog.com/blank.gif"); ?>" class="gravatar" align="right" />

That’s it? Yup! Three steps! Check out my Gravatar in the following comment!

You might also find these posts interesting:

RSS feed | Trackback URI

5 Comments »

Comment by no imageDouglas Karr (SezWho)
2007-10-17 22:59:36

If you see this Gravatar anywhere on the web, it’s me!
Rate this:
2.9
 
Comment by no imageWayne Liew (SezWho)
2007-10-18 04:20:30

I am not using Gravatar but instead I use MyAvatar which is a plugin for Wordpress.

This allows the same thing to happen but it’s just that the avatar shown will be identical with the one in MyBlogLog.

This eases a lot of things because most of the readers will not take the extra step to upload an avatar just for bloghopping. :-)

Rate this:
2.9
 
Comment by no imageEmad (SezWho)
2007-10-18 11:35:46

I love gravatars and I am glad they aquired it. Hopefully, it will be seemlessly integrated into wordpress next version…

There is a good review of gravatars at http://www.thetechbrief.com/2007/10/12/get-yourself-a-gravatar-while-theyre-still-hot/

Rate this:
2.9
 
Comment by no imageAlpesh Nakar (SezWho)
2007-10-19 00:12:20

And now it’s completely free service - add as many avatars and email id’s you want :-)
Rate this:
2.9
 
Comment by no imageAdam (SezWho)
2008-01-08 22:59:50

I’ve actually created a Gravatar class if you click the link in my name. Loosely coupled and works like a dream - it also has a cache with an expiration date for the avatar - to save on loading times. It can merely load the avatar in locally.

Adam @ TalkPHP.com

Rate this:
2.9
 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

My Comment Policy: I moderate comments. Please be patient:

  • Spam will happily be destroyed.
  • Use your real name, not some keywords. Otherwise it will be destroyed.
  • Mean comments aren't necessary. If I don't post them I will reply personally to let you know why.
  • Lewd comments will be edited, I don't want my readers leaving because of offensive content.
Great debate, criticism and colorful commentary is always appreciated and approved!