Abraham Garcia in PHP Scripts   Friday, February 12 2016

How To Get Gravatar Image via PHP

How to get Gravatar image and insert it into your projects with a simple function

This is a useful function to get the gravatar image into your projects. $email = "someone@somewhere.com"; $default = "http://www.somewhere.com/homestar.jpg"; $size = 40; $grav_url = "http://www.gravatar.com/avatar/" . md5( strtolower( trim( $email

Continue reading