/ Published in: PHP

Just set the variable `$email` to the user's email address. Hey presto! A Gravatar image!
You can also change the size by adjusting the `s=32` variable. Size is in pixels.
You can also change the size by adjusting the `s=32` variable. Size is in pixels.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php echo '<img src="' . $gravatar_link . '" alt="gravatar"/>'; ?>
Comments
