Sorry, the errors were my mistake.
After applying the fix stated above, thumbnail size is calculated correctly.
Sorry, the modified line number is: 483
Hi sgagan!
I’ve upgraded from user avatar v0.5 to v1.5.
It did not work for me until I’ve changed:
line 486 in user-avatar.php
from
$avatar_folder_dir = USER_AVATAR_UPLOAD_PATH."{$user}/";
to
$avatar_folder_dir = USER_AVATAR_UPLOAD_PATH."{$id}/";