Was working with a similar problem and thought I would share for anyone else googling avatar sizes on kunena.
Scenario:
Users can upload their own pics or they can choose from a gallery. When a user uploaded a picture it was getting automatically sized (not sure if this is based off the controls in the forum configuration or not - one would assume its at least possible if not likely). The pictures were automatically getting created in 3 different sizes and being named based of the users ID number.
For instance:
Small - s_37.jpg
Medium - 37.jpg
Large - l_37.jpg
At the top of the forum (Welcome, User) the small picture is being used. On board messages the medium pic is automatically used and on the users profile the large is actually used.) The following is my
temporary fix so that the large pic will be also used for the board messages (otherwise it uses the medium one which almost always meant it came out distorted and "squished").
In /components/com_kunena/template/<your template>/view.php
On line 637 (1.0.

On line 607 (1.0.9):
I changed the following from:
Code:
$avatar = $userinfo->avatar;
if ($avatar != '') {
$msg_avatar = '<span class="fb_avatar"><img border="0" src="' . KUNENA_LIVEUPLOADEDPATH . '/avatars/' . $avatar . '" alt="" /></span>';
}
else {$msg_avatar = '<span class="fb_avatar"><img border="0" src="' . KUNENA_LIVEUPLOADEDPATH . '/avatars/s_nophoto.jpg" alt="" /></span>'; }
}
}
to:
Code:
$avatar = $userinfo->avatar;
if ($avatar != ''){
$msg_avatar = '<span class="fb_avatar"><img border="0" src="' . KUNENA_LIVEUPLOADEDPATH . '/avatars/' . 'l_' . $avatar . '" alt="" /></span>';
}
if (eregi("gallery/", $avatar) == true){
$msg_avatar = '<span class="fb_avatar"><img border="0" src="' . KUNENA_LIVEUPLOADEDPATH . '/avatars/' . $avatar . '" alt="" /></span>';
}
if ($avatar == '') {$msg_avatar = '<span class="fb_avatar"><img border="0" src="' . KUNENA_LIVEUPLOADEDPATH . '/avatars/s_nophoto.jpg" alt="" /></span>'; }
}
}
Careful to remove the word wrap that the forum placed on my code.
Using this your users with an uploaded avatar will have the correct dimensions and anyone with a gallery avatar will still show up.