Gravatars are not displaying.
-
Hello there,
I’ve been having this issue all day. I dont know if it’s a server problem (allow_url_fopen is disabled on Dreamhost) because sometimes the gravatars actually show up.
Check here to see what I mean. There should be two comments there with gravatars, and two with defaults. But sometimes they all work, sometimes none of them do, and sometimes its only the defaults. Can anybody spot what’s up? Here’s that part in my comments.php:
<div class="altbox">
<?php foreach ($comments as $comment) : ?><div class="<?=($alternate%2)?"alt1":"alt2";$alternate++;?> clearfix">
<div class="gravatar">
<img src="<?php gravatar("R", 40, "https://www.jazz-kitten.org/files/img/gravatar1.gif"); ?>" alt="gravatar" />
</div>
<?php comment_author_link() ?><br />On <?php comment_date() ?> at <?php comment_time() ?>.<p />
<?php comment_text() ?>
</div><?php endforeach; ?>
</div>Help would be greatly appreciated, since I have spent a day trying to find an answer with no luck.
- The topic ‘Gravatars are not displaying.’ is closed to new replies.