MyBB Community Forums

Full Version: Get rid of automatic resizing for avatars?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I tried looking in templates but can't find anything that says about resizing.

I changed the settings in the ACP to allow up to 150x150 px avatars but in the threads it is automatically resized. I know this is theme dependent but any ideas of where to go? I tried to look under postbit template but am lost.

Also it looks a bit off in the profile page itself as well:
Each template should have a template that says TEMPLATENAME_avatar or something along those lines.

You can change the dimensions by changing

That might help you if I'm understanding you correctly. Smile
Sorry not finding anything...
Please..I need some help on where to go to edit this and what to edit.
ACP > Configuration > Profile Options (20 Settings) > Default Avatar Dimensions & Maximum Avatar Dimensions.
For threads, here you go mate "postbit_avatar".

<div class="author_avatar"><img src="{$useravatar['image']}"height="150" width="150"alt="" {$useravatar['width_height']}  /></div>

is in the postbit_avatar and I edited it to the above...and I tried changing the 'width_height' at the end and still changes nothing.

EDIT: I found this under postbit_classic (which is what users will see)

And found this: not sure how to remove the post_author_scaleimages without throwing everything else off.

<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author scaleimages">
	<div class="author_information">
     <span class="smalltext">        
{$post['onlinestatus']} <strong><a href="javascript:;" id="userp">{$post['profilelink']}</a></strong><br />
   				{$post['usertitle']}<br />
                {$post['user_details']}<br /><br /><br />
                <div id="fadehover"> {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</div>
dear If You Want Change avater Just Click On Upload Button Of The Site and Upload Image In Site
Not that haha ^. I am trying to get the avatars to display at the full 150x150 in the postbit.

Right now it's at 50x50 it looks like. I'm just not sure where to edit, or what to edit.
<div class="author_avatar"><img src="{$useravatar['image']}"height="150" width="150"alt="" {$useravatar['width_height']}  /></div>
That ^
Needs to be this
<div class="author_avatar"><img src="{$useravatar['image']}" alt="" {$useravatar['150_150']}  /></div>
OR this
<div class="author_avatar"><img src="{$useravatar['image']}" alt=""  /></div>
Pages: 1 2