Posted by davidneedham on July 7, 2009 at 2:15pm
Jump to:
| Project: | Gravatar integration |
| Version: | 7.x-1.1 |
| Component: | Documentation |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
It'd be really handy if there was a section in the readme that mentions what code we should use in order to display a gravatar in a block or custom module.
Comments
#1
I say that because it'd save me the last hour of trying to figure out how to call it... and I'm still not having any luck. Any tips? I basically just want to display the user's avatar, be it gravatar or one they uploaded in a block.
Thanks in advance!
#2
I'm still trying to figure this out.
How do I display the user's gravitar image? I just need to put it in a block with other code.
#3
Sorry I hadn't responded sooner. WIth 6.x-1.7, here's how you get a Gravatar:
<?php_gravatar_get_gravatar(array('mail' => 'example@example.com'));
?>
The current code that will be 6.x-1.8:
<?phpgravatar_get_gravatar('example@example.com');
?>
#4
Thank you thank you thank you!
#5
Automatically closed -- issue fixed for 2 weeks with no activity.
#6
"How do I display the user's gravitar image? I just need to put it in a block with other code."
Could you give the code to do this in drupal 7 with Gravatar 7.x-1.1
Thanks in advance.
#7
Gravatar 7.X:
<?phpgravatar_get_gravatar('example@example.com');
?>
#8
Automatically closed -- issue fixed for 2 weeks with no activity.