MyBB Community Forums

Full Version: Fixing stretched avatar postbit?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For some reason my avatars are stretched in the postbit height wise. The width however is fine. What could be the issue? Btw, this only happens for some avatars. Is it just due to the image itself ?
Whats your forum link?
(01-17-2015, 07:35 PM)iAndrew Wrote: [ -> ]Whats your forum link?

My board is offline right now cause I am editing some stuff. I can put it online whenever u get on that way it's a faster process
have you set the dimensions in, ACP >> Configuration >> Settings >> Show Thread Options >> Maximum Avatar Dimensions in Posts

if still having problem try this..... goto Templates >> Post Bit Templates >> postbit_avatar

Replace this....

<img src="{$post['avatar']}" alt="" {$avatar_width_height} />

with this.... (change the width and height if needed)

<img src="{$post['avatar']}" alt="" width="100px" height="100px" />