How to Detect a Default Gravatar Image for an Email Address – PHP Tutorial

Summary:  Have you ever liked a site so much that you created an account on their website by giving them your email and creating a password, only to login and find that they already had a picture of you on file?  How do that do that?!   This intelligent design utilizes a free web service called Gravatar (or similar concept). Concept:  To obtain your Gravatar, use PHP to create the md5 hash of the email address of interest and append that hash to:[insert-hash-here].jpg.  There are a lot of available options for the type of image that is called (by passing GET parameters) from the Gravatar servers that can adjust the size, type, etc of the image. Problem: I... Read more »