• I´d like to make bigger the gravatar images of the comments because they are too little. How can I do this?

    Here my web.

    Thanks for advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    IN your gravatar wordpress comment related plugin you need to edit that plugins php file where you can find the option height and with settings. You need to set it up according to your requirement.

    Thanks,

    Shane G.

    Thread Starter salenco

    (@salenco)

    Thanks for the answer, but I´m not using any plugin to show gravatar in my comments. The same wordpress has an option that allows you to use gravatar images. If I would use a plugin in the comments there would be two images (the one from wordpress and the one from the plugin).

    Thread Starter salenco

    (@salenco)

    Thanks. I edited my gravatar plugin.

    But I still have a problem. The images are blurred. And I go to another blog and the same images look with good definition.

    1. Download WP-Gravatar and activate it
    2. Disable Default Gravatar, WP-admin – Setting – Discussion
    3. Go to WP-Gravatar configuration page, defind “Size of Gravatars” as you prefer
    4. Edit gravatars.php @ wp-content/wp-gravatar/gravatars.php

    find this code

    if($home_url == true && $comment_link != get_option('home')){
           			 $s = "<a href='$comment_link' $follow_links>$comment_name</a><a href='$comment_link' $follow_links><img $gravatar_css_temp src='http://www.gravatar.com/avatar/$md5?rating=$gravatar_rating&default=$default' alt='No Gravatar' width=$gravatar_size height=$gravatar_size/></a>";
           		} else {
           		if ($gravatar_use_url == true){
           			$s = "<a href='$comment_link' $follow_links>$comment_name</a><a href='$comment_link' $follow_links><img $gravatar_css_temp' src='http://www.gravatar.com/avatar/$md5?rating=$gravatar_rating&default=$default' alt='No Gravatar' width=$gravatar_size height=$gravatar_size/></a>";
           		}else{
           			$s = "$comment_name<img $gravatar_css_temp src='http://www.gravatar.com/avatar/$md5?rating=$gravatar_rating&default=$default' alt='No Gravatar' width=$gravatar_size height=$gravatar_size/>";
           		}}

    replace it with this code

    if($home_url == true && $comment_link != get_option('home')){
           			 $s = "<a href='$comment_link' $follow_links>$comment_name</a><a href='$comment_link' $follow_links><img $gravatar_css_temp src='http://www.gravatar.com/avatar/$md5?rating=$gravatar_rating&default=$default&s=$gravatar_size' alt='No Gravatar' width=$gravatar_size height=$gravatar_size/></a>";
           		} else {
           		if ($gravatar_use_url == true){
           			$s = "<a href='$comment_link' $follow_links>$comment_name</a><a href='$comment_link' $follow_links><img $gravatar_css_temp' src='http://www.gravatar.com/avatar/$md5?rating=$gravatar_rating&default=$default&s=$gravatar_size' alt='No Gravatar' width=$gravatar_size height=$gravatar_size/></a>";
           		}else{
           			$s = "$comment_name<img $gravatar_css_temp src='http://www.gravatar.com/avatar/$md5?rating=$gravatar_rating&default=$default&s=$gravatar_size' alt='No Gravatar' width=$gravatar_size height=$gravatar_size/>";
           		}}
    Thread Starter salenco

    (@salenco)

    Wow zeally, thanks. I really appreciate you help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How can I make bigger the gravatar images in the comments’ is closed to new replies.