WordPress.org

Ready to get started?Download WordPress

Forums

comment heat map no working correctly. (1 post)

  1. khaled
    Member
    Posted 9 years ago #

    Quick but I'm being dumb today, I'm trying to Implement ChrisJDavis's Comment heat map, found here:

    http://www.brokenkode.com/gravatar

    Now the main problem is in the calling the image from the correct folder. For some reason it's not turning up. Anyone have any idea how to sort this out?

    Just wondering if anyone's got any ideas...

    echo '<a href="';
    echo $comment_heat->comment_author_url;
    echo '" title="';
    echo $comment_heat->count;
    echo ' comments left by this person">';
    echo '<img src="http://www.gravatar.com/avatar.php?gravatar_id=';
    echo md5($comment_heat->comment_author_email);
    echo '&size=';
    echo $size;
    echo '&default=http://www.brokenkode.com/wp-content/themes/iso/images/avatar.jpg';
    echo $image;
    echo 'img src= alt="personal avatar" height="';
    echo $size;
    echo 'px" width="';
    echo $size;
    echo 'px" />';
    echo '</a>';

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.