MyBB Community Forums

Full Version: how to make avatars bigger in show thread?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The avatars are kinda small in the default theme. Is there a way to make them bigger? 

I am having trouble finding the right template.
Admin CP > Styles & Templates > Default Templates > Post Bit Templates > postbit_avatar

Find:

<div class="author_avatar"><a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" alt="" {$useravatar['width_height']} /></a></div>

Replace with:

<div class="author_avatar"><a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" alt="" style="width:100px; height: 100px;" /></a></div>

Replace both instances of '100px' with your desired dimensions.
haha your the man. Thanks!
No need change Template, Mybb have these settings :

 Admin CP -> Configuration  -> Show Thread Options -> Maximum Avatar Dimensions in Posts option 
 Admin CP -> Configuration  -> Profile Options -> Default Avatar Dimensions option 
 Admin CP -> Configuration  -> Profile Options -> Maximum Avatar Dimensions option 

 Admin CP -> Configuration  -> Member List  -> Maximum Display Avatar Dimensions option 


Also for Resize :
 Admin CP -> Configuration  -> Profile Options -> Avatar Resizing Mode option 
(2023-05-25, 12:12 PM)Mostafa.Shiraali Wrote: [ -> ]No need change Template, Mybb have these settings :

 Admin CP -> Configuration  -> Show Thread Options -> Maximum Avatar Dimensions in Posts option 
 Admin CP -> Configuration  -> Profile Options -> Default Avatar Dimensions option 
 Admin CP -> Configuration  -> Profile Options -> Maximum Avatar Dimensions option 

 Admin CP -> Configuration  -> Member List  -> Maximum Display Avatar Dimensions option 


Also for Resize :
 Admin CP -> Configuration  -> Profile Options -> Avatar Resizing Mode option 

I tried those options and unfortunately it did not work. The edit template option was the only thing that would work for me.