PDA

View Full Version : Wordpress Gravatar Question



Rick Olsen
October 29th, 2009, 12:36 AM
Does anyone know how to add my own image to the Gravatar box when I'm responding to a comment as admin? I'd like to use the image in my signature, but I can't figure out how to do it.

Thanks.

Rick Olsen
October 29th, 2009, 03:03 AM
I got it! I just went to gravatar.com and opened an account. Duh.

retta719
October 29th, 2009, 03:09 PM
Yup, you got it. ;) It's so easy most people think there's some additional trick to it, but it's just easy peasy. I've had at least 5 emails from clients and commenters in the past few weeks asking the same question, so no worries.

Clay Franklin
October 29th, 2009, 03:36 PM
Yea! I have a do follow on my comments at ClayFranklin.com (http://www.clayfranklin.com/272/lynn-terry-sswt-elite-internet-marketing-mastermind)so you could comment there and get a back link to your site.

lisamariemary
October 29th, 2009, 04:00 PM
Yeah, I just can't get it to work with one of my themes that I use - drives me crazy! Oh, but, I know it does work with that theme - as it does on the guy's site who wrote the theme. One day I'll get it figured out!

Funny thing is, in the dashboard - the gravatars show! ugh!

Clay Franklin
October 29th, 2009, 04:06 PM
LisaMarie,

Did you find the Gratatar plug in options and click the use Gravitar image?
It also only works with the email that the person signed up with at Gravitar.

lisamariemary
October 29th, 2009, 04:19 PM
Are you talking about in my dashboard?

TraciKnoppe
October 29th, 2009, 09:01 PM
LMM, getting the gravatar to show, depends on the email address being used.

Rick Olsen
October 30th, 2009, 11:57 PM
Does anyone know how to make the Gravatar images shown on my site smaller? I'd like them to be about half the size they are now. Thanks.

TraciKnoppe
October 31st, 2009, 08:34 AM
Hi Rick you can adjust the size of gravatar display via CSS. If you do not currently have code in your stylesheet specific indicating a size for gravatars, then create one.

In looking at your code, it looks like gravatars are being pulled in using this class


.avatar avatar-60 photo

They are currently set to a size of 60px X 60px. If you do not have a class by that name, add one like this:


.avatar avatar-60 photo { width: 30px; height: 30px; }

Let me know if that works for you.

Rick Olsen
October 31st, 2009, 09:24 PM
Thanks, Traci. I found this in my comments.php file:

<div style="float:left;margin:0px 10px 10px 0px;"><?php echo get_avatar( $comment, $size = '60' ); ?></div><?php comment_text() ?><div style="clear:both;"></div>

I changed 60 to 30 and it worked.