Revision: 62489
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 26, 2013 20:56 by apphp-snippets
Initial Code
<?php function show_my_gravatar($email, $size, $default, $rating) { $params = '?gravatar_id='.md5($email).'&default='.$default.'&size='.$size.'&rating='.$rating; $output = '<img src="http://www.gravatar.com/avatar.php'.$params.'" width="'.$size.'px" height="'.$size.'px" />'; echo $output; } ?>
Initial URL
http://www.apphp.com/index.php?snippet=php-using-gravatars-in-your-script
Initial Description
With increasing of popularity of WordPress script, Gravatars have become a really quite popular. Now you may easy integrate them into your own script as they provide a very easy to use API.
Initial Title
Using Gravatars In Your Script
Initial Tags
php
Initial Language
PHP