Method to get Gravatar avatar

// Method to get Gravatar avatar function avatarURL($email, $size) { return 'http://www.gravatar.com/avatar/'.md5($email).'?s='.$size.'&default='images/avatar-default.png'); }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.