Update gravatar.php

Deleted most of the code, kept the functionality. It was a good day.