I’m trying to build a comments section on a site and am having issues generating the correct gravatars for each comment that gets posted. For some reason they all show up as my gravatar (for admins email address) regardless of the email address posted in the comment. I have verified this by viewing source and the link to the gravatar site uses the same user ID for each entry.
Here is my code:
{exp:comment:entries channel="{this_channel}"}
<div class="comment-container">
<div class="avatar">{exp:gravatar email=</div>
<div class="comment-right">
<div class="comment-head">
<span class="name-fl">{url_as_author} said:</span>
<span class="date-fr">{comment_date format="%F %d %Y"}</span>
<div class="clr"></div>
</div><!-- /comment-head -->
<div class="comment-entry" id="comment-{comment_id}">
{comment}
</div><!-- /comment-entry -->
</div><!-- /comment-right -->
<div class="clr"></div>
</div><!-- /comment-container -->
{/exp:comment:entries}Any ideas what may be happening?