Now using MyAvatars
![]()
I wanted to use Gravatars on my blog. After several attempts to get Gravatars2 to work on my blog, I gave up. I know what the problem was, but I didn’t know how to fix it. I use an .htaccess file to redirect my directories without a trailing slash to the slash version (good for SEO by merging inbound links to the same address). Gravatars used cached images of the graphics and renamed them a string of numbers with no appended file extension. That meant that everytime my site tried to call a file without an extension, the server redirected the request to have a trailing slash, which means my avatars showed up as broken images.
Nevertheless, a friend told me that I could use MyBlogLog to power my avatars, and I decided to go that route. I found a plugin called MyAvatars, which pulls in avatars from MyBlogLog and Gravatars. Turns out that more people that read my blog have a MyBlogLog profile than they do a Gravatar, which just made my comments look much more colorful without all those no image available placeholders.
I’m still working to turn off the Gravatars portion of the MyAvatars, but it still seems to be loading both with the Gravatars loading over the MyBlogLog profile pics. Any suggestions?


I can’t remember exactly what I did to MyAvatars - but I definitely had to fiddle with it to make it work correctly with my theme. I’m pretty sure that I removed the Gravatars part of the code completely in the end.
You’re welcome to a copy of my code if you think it’ll help?
From Paul Enderson on October 2nd, 2007 at 12:10 pm
Ok, I yanked out all of the Gravatar code and the crazy string of Javascript it was adding to the onLoad attribute. Now it works smoothly and much faster.
Thanks for the tip, Paul!
From Justin on October 3rd, 2007 at 11:29 am
No problem mate! You might need to increase the margin on the bottom of the avatar - it overlaps the comment boxout slightly! :)
From Paul Enderson on October 3rd, 2007 at 12:24 pm
Thanks for the heads up. I need to get a Windows box so I can test on it…
From Justin on October 3rd, 2007 at 1:14 pm