MyBB Community Forums
Get rid of automatic resizing for avatars? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Get rid of automatic resizing for avatars? (/thread-207052.html)

Pages: 1 2


Get rid of automatic resizing for avatars? - vOptix - 2017-01-01

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


RE: How to change avatars (it automatically resizes) - Nicole-Studios - 2017-01-01

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


RE: How to change avatars (it automatically resizes) - vOptix - 2017-01-01

Sorry not finding anything...


RE: How to change avatars (it automatically resizes) - vOptix - 2017-01-03

Please..I need some help on where to go to edit this and what to edit.


RE: How to change avatars (it automatically resizes) - Nasyr - 2017-01-03

ACP > Configuration > Profile Options (20 Settings) > Default Avatar Dimensions & Maximum Avatar Dimensions.


RE: How to change avatars (it automatically resizes) - WallBB - 2017-01-03

For threads, here you go mate "postbit_avatar".

Regards
WallBB


RE: How to change avatars (it automatically resizes) - vOptix - 2017-01-03

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



RE: How to change avatars (it automatically resizes) - umarmughal44 - 2017-01-03

dear If You Want Change avater Just Click On Upload Button Of The Site and Upload Image In Site


RE: Get rid of automatic resizing for avatars? - vOptix - 2017-01-03

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.


RE: Get rid of automatic resizing for avatars? - Nicole-Studios - 2017-01-03

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