Not Solved {avatar} stretching avatars
#2
Not Solved
I guess {$avatar} code is evaluating inside any core file like global.php , right ? If so then you've to assign a width and height attributes in the <img src> tag, like this;
$avatar = '<img src="'.$mybb->user['avatar'].'" height="63px" width="63px" alt="Avatar">';

Edit 63 in both width and height attributes for your desired sizes. Smile
Reply


Messages In This Thread
{avatar} stretching avatars - by xomp - 2011-06-04, 02:28 AM
RE: {avatar} stretching avatars - by Yaldaram - 2011-06-04, 06:41 AM
RE: {avatar} stretching avatars - by faviouz - 2011-06-04, 11:04 AM
RE: {avatar} stretching avatars - by xomp - 2011-06-04, 03:32 PM
RE: {avatar} stretching avatars - by Yaldaram - 2011-06-04, 03:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)