documentation for syntax and usage. Version: 1.01 Author: Tom Werner Author URI: http://www.mojombo.com/ edit: 11/21/04 Ingoal - corrected rating, size, default and border so that xhtml validation is working again: replace &size=".$size; with &size=".$size; */ function gravatar($rating = false, $size = false, $default = false, $border = false) { global $comment; $out = "http://www.gravatar.com/avatar.php?gravatar_id=".md5($comment->comment_author_email); if($rating && $rating != '') $out .= "&rating=".$rating; if($size && $size != '') $out .="&size=".$size; if($default && $default != '') $out .= "&default=".urlencode($default); if($border && $border != '') $out .= "&border=".$border; echo $out; } ?>