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: http://entertainmentjoy.com/user-1.html
Each template should have a template that says TEMPLATENAME_avatar or something along those lines.

You can change the dimensions by changing
width_height
to
150_150

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".

Regards
WallBB
<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.


{$ignore_bit}{$deleted_bit}
<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">
	{$post['useravatar']}
	<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>
			</span>
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.

http://entertainmentjoy.com/thread-27-post-111.html

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