Create file.php

include this code in your page where you want to use gravatar