Return to Snippet

Revision: 29292
at July 25, 2010 20:08 by daipratt

Initial Code
*@email - Email address to show gravatar for 
*@size - size of gravatar 
*@default - URL of default gravatar to use 
*@rating - rating of Gravatar(G, PG, R, X) 
function show_gravatar($email, $size, $default, $rating)  
    echo '<img src="'.md5($email).  
        '&default='.$default.'&size='.$size.'&rating='.$rating.'" width="'.$size.'px" 
        height="'.$size.'px" />';  

Initial URL

Initial Description

Initial Title
Get a users gravatar from their email address

Initial Tags

Initial Language