I have been trying to get the gravatar to work on my custom made php site.
I have created exactly what was asked on the gravatar website but when implementing it on my site the gravatar just shows there default image.
It obviously links to their site because it is bring back the default image, just not the gravatar which is linked to the email address given.
I have set up a gravatar for years now and it works on major blogs but when i test on my site it does not work.
The implementation process is:
<img src="https://secure.gravatar.com/avatar/<?php echo md5( strtolower( trim( $authorsemail ) ) ); ?>?s=60&d=mm" alt="<?php echo $authorsname ; ?>" class="gravatarimage" />
The $authorsname
is just the email from the comment author as shown.
I have echo'ed the $authorsname
and this is correct.
Any ideas why this is not working