Pete Freitag Pete Freitag

Gravatar's not showing up?

coldfusion

I had been wondering why my Gravatar images haven't been showing up for a while in the comments on my blog. I had thought that it was because Gravatar is moving servers - their homepage currently says:

In order to handle the rapidly increasing load, I've had to experiment with a variety of server architectures. I ask for your patience during the coming weeks as I test out a few setups. The new and improved, vastly more scalable solution, will serve gravatars expediently and reliably.

But when I was over at Jon Hicks blog today, I noticed that his gravatars were working fine.

The problem was that my Hash had uppercase characters in it (this is because I'm using ColdFusion and its Hash function returns upper case Hex characters. The new gravatar requires a lowercase hash code.

It's a pretty simple fix, just wrap the Hash call with LCase()

LCase(Hash(comment.email))

Like this? Follow me ↯

Gravatar's not showing up? was first published on December 18, 2006.

If you like reading about gravatar, blog, or comments then you might also like:

FuseGuard Web App Firewall for ColdFusion

The FuseGuard Web Application Firewall for ColdFusion & CFML is a high performance, customizable engine that blocks various attacks against your ColdFusion applications.

Comments

My I suggest MyAvatar of Napolux (Italy): http://mybloglogb.typepad.com/my_weblog/2006/12/myspace_and_wor.html
by Merlinox on 12/18/2006 at 4:07:04 PM UTC
Thanks. I'm updating my Gravatar enabled apps now.
by Raymond Camden on 12/18/2006 at 10:05:50 PM UTC
I'm trying to see if mine works!
by mehmet on 05/12/2007 at 5:45:14 PM UTC
i don't know why my gravatars don't work in my blog
by coffelius on 07/12/2007 at 1:37:43 PM UTC
Another thing about gravatarsis that the e-mail is case-sensitive. Right?
by Fepe on 07/12/2007 at 6:57:36 PM UTC
yeah gravatar is so buggy i kept getting errors when trying to add my avatar than it didnt even show up on gravatar enabled siets.
by dave on 07/18/2007 at 2:07:42 PM UTC
Just testing to see if my gravatar is working, only recently signed up for one, but not yet got it working...
by Lee Wilson on 07/19/2007 at 12:28:01 PM UTC
Just testing....
by Yodhia Antariksa on 11/05/2007 at 1:08:54 AM UTC
testing to see if my pic is working
by Uneek on 01/16/2008 at 5:24:49 PM UTC
I have the same issue, its annoying.
by Ali on 06/19/2008 at 3:08:12 AM UTC
just testing
by illya on 07/26/2008 at 2:49:08 PM UTC
Testing if my gravatar works here too
by Marcos Placona on 09/02/2008 at 4:20:40 AM UTC
Testing also
by Coach KG on 09/03/2008 at 12:11:43 PM UTC
Also testing, lets hope this triggers the grav to work!
by Sylly on 10/03/2008 at 10:46:25 AM UTC
Testing my gravatar. Thanks.
by Lisa C on 10/20/2008 at 11:50:25 AM UTC
I've been having troubles with gravatar too. Thanks for the info. Testing!
by dave on 10/30/2008 at 12:34:23 PM UTC
testing my gravater to see if it works
by deric on 11/11/2008 at 4:10:26 PM UTC
testing gravatar
by jgcabs on 12/04/2008 at 1:29:08 PM UTC
testing gravatar
by Roger Clapp on 02/03/2009 at 2:22:16 PM UTC
Showing gravatar?
by Andy on 02/05/2009 at 8:13:58 PM UTC
Testing gravatar, just like everyone else.
by Chris on 02/12/2009 at 9:10:41 AM UTC
testing out my gravatar.
by lolm4rx on 04/21/2009 at 4:28:33 PM UTC
Me too testing...
by Abhineet on 06/10/2009 at 7:57:04 AM UTC
Hey! Its showing up here, then why not on my blog...
by Abhineet on 06/10/2009 at 7:57:45 AM UTC
testing for first time
by Todd on 07/01/2009 at 6:27:11 PM UTC
For somereason my avatar isn't showing up. This shouldn't be this hard.
by this doesn't work on 10/12/2009 at 10:54:50 PM UTC
testing testing
by Fiala06 on 11/10/2009 at 11:21:29 AM UTC
testing !!!!
by Aaron Seligson on 11/13/2009 at 11:31:54 PM UTC
testing once again
by aaron on 11/13/2009 at 11:33:11 PM UTC
Ok This is testing
by Herman on 12/26/2009 at 2:50:15 AM UTC
didn't show last time
by Andy on 01/14/2010 at 1:35:21 PM UTC
test gravatar
by Rodrigo Kono on 01/25/2010 at 10:49:28 AM UTC
Test Gravatar
by Seth on 02/09/2010 at 10:30:36 PM UTC
Testing my gravator Too ! :D
by Kam on 02/19/2010 at 1:26:05 AM UTC
testing :) hahaha
by brandy on 02/25/2010 at 1:35:32 PM UTC
testing the gravatar
by dave on 03/05/2010 at 9:10:25 AM UTC
tester tester testing
by Kevin on 07/18/2010 at 2:23:08 PM UTC
Hi i'm just testing my gravatar I hope it is showing up.
by Stephanie Summers on 07/27/2010 at 3:56:44 AM UTC
mines not been working either
by steven silverwood on 09/23/2010 at 6:51:25 AM UTC
testing my grravatar!
by John on 10/02/2010 at 3:13:23 PM UTC
testing gravatar please
by xChaos on 10/26/2010 at 4:16:23 AM UTC
check on gravatar
by P on 11/02/2010 at 8:41:35 AM UTC
testing testing
by Anonymous on 05/02/2011 at 4:29:56 PM UTC
ok this sucks, gravatar does not work on the blog i'm making, but it does work here
by Anonymous on 05/02/2011 at 4:31:09 PM UTC
Just testing Gravatar
by Luis on 06/19/2011 at 5:59:05 PM UTC
testing gravatar
by Derik on 09/20/2011 at 5:35:33 PM UTC
Testing gravatar!
by Kent James on 10/20/2011 at 7:51:04 PM UTC
testing the gravatar function
by jahsmine on 08/02/2012 at 4:58:23 PM UTC
testing gravatar
by ryan on 08/25/2012 at 4:51:20 PM UTC
Testing my gravatar
by Søren on 07/14/2015 at 12:03:33 PM UTC