Display Gravatar Code Documentation
unrealnighthawk - July 7, 2009 - 14:15
| Project: | Gravatar integration |
| Version: | 6.x-1.7 |
| Component: | Documentation |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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.

#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.