When using Invision Board 2 integration, avatar's width and height is not restricted.
It sometimes breaks the comments layout when members are using too large avatars.
Here is what I use on my gallery, the code has been backported from IB2 sources.
In file forums/ib2.php, in function get_profiledata(), around line 166 :
1) We need to fetch avatar's size from database (changes highlighted in red) :
Code:
Content visible to verified customers only.
2) Then, we can use it to set avatar size (changes highlighted in red) :
Code:
Content visible to verified customers only.