in technospeak

this blog is now gravatar enabled

to make posting comments a little bit more rewarding i implemented gravatars on this blog.

two days ago i commented on an entry over at urs’ blog and some fancy image turned up next to my comment. i’ve seen that already turning up on different blogs (e.g. and

the code with which i implemented it is shown below for your abuse and modification.


<div class=”comments-body”>


<span class=”comments-post”>

<a href=”<$MTCommentURL$>”>

<img src=”<$MTGravatar default=”” size=”40″$>” alt=”gravatar” align=”left” />


posted by: <$MTCommentAuthorLink spam_protect=”1″$><br />

on <$MTCommentDate$><br clear=”all”>




i made it so that every person gets a gravatar, even it there’s none registered (for example, see peters comment here). if your gravatar is missing the pictures gets replaced by blank.jpg. the gravatar is linked with the url or the (spamsafe) email link of the person that left a comment.

so, ladies and gents, if you want your picture to show up in the comments, then step over to gravatar and register yours.

thanks, goodbye.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  1. Which makes me think: One could decentralize this functionality, so we don’t depend on Gravatar’s services. Everyone places his gravatar saved as ‘gravatar.jpg’ in the root of the URL he leaves with his comment. (Similar to the Favorites-icons for bookmarks.)

    The blog-software would only have to link to the image if it exists. Or cache it on his webserver.

  2. This idea is not bad, really. It makes Gravatar no longer necessary. But the problem is that people who don’t have a homepage, or have a homepage somewhere else in a subdirectory can’t have an avatar of their own…

    Other than that, I think I’ll have to Gravatar-enably my Blog soon, too :-P

  3. i’ve also read that the gravatas can be used to prevent commment spam, e.g. can be used to help build a trusted community. i’ll have to look into this, for now it’s just nice…