Not Solved {avatar} stretching avatars
#1
Not Solved Question 
Hi, I'm looking for a way in which to make the avatar that appears in my welcomeblock to adjust the avatar image like it does anywhere else in MyBB. Currently it's distorting the dimensions making them either very wide or squished depending on the images dimensions. A test account can be setup upon request so you can see what I'm talking about (if I'm unclear).

Thanks everyone Smile

EDIT:
Here's my header template where the avatar is being called into use. If anyone can advise on how to get it to resize smartly for lack of a better term.

<div id="container">
        <a name="top" id="top"></a>
        <div id="header">
<div style="margin-top: 10px; margin-left: 8px; margin-bottom: -30px; text-align: left;"><a href="{$mybb->settings['bburl']}/index.php"><img src="images/logo.png" /></a></div>      

            <br /><div id="panel" style="float: right; margin-top: -95px; margin-right: 120px">{$welcomeblock}</div>
            <div style="border-radius: 5px; -webkit-border-radius: 5px;
-moz-border-radius: 5px; float: right; padding-right:
10px; margin-top: -125px;"><a href="{$mybb->settings['bburl']}/usercp.php">{$avatar}</a></div>
            <hr class="hidden" />
<br />
</div>
        <hr class="hidden" />
        <br class="clear" />
        <div id="content">
            {$pm_notice}{$teradonate_notice}{$teradonate_bar}
            {$bannedwarning}
            {$bbclosedwarning}
            {$unreadreports}
{$headerannounce}
            {$pending_joinrequests}
            <navigation>
            <br />
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)