MyBB Community Forums

Full Version: Broken avatars
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Broken avatars leave a small white box behind.

[Image: attachment.php?aid=32159]

I'm not sure if there's much, if anything, that can be done about it but it's a tad annoying.
Maybe the box size should be forced to a certain size..
(2014-08-15, 04:09 AM)Omar G. Wrote: [ -> ]Maybe the box size should be forced to a certain size..

That and setting the default avatar as a background image would mostly fix it no?

Nvm, wouldn't work if people are using a transparent avatar.
Might the :empty CSS selector help? I've not looked at the HTML but that's exactly what the selector's for.
^ Isn't broken <img> still a child? I think we should implement something like this: http://stackoverflow.com/questions/92720...es#tab-top and set default avatar for invalid images, just like we set it for no avatar.
I agree - because there is no default avatar for broken ones, just for no avatar
(2014-08-15, 06:58 PM)Destroy666 Wrote: [ -> ]^ Isn't broken <img> still a child? I think we should implement something like this: http://stackoverflow.com/questions/92720...es#tab-top and set default avatar for invalid images, just like we set it for no avatar.

This seems like a great solution, +1.
Sounds like a nice idea, replace all broken avatars with the default one.
This may be caused because of the padding of the parent element.
Replace with default? I did something similar few days ago:
http://community.mybb.com/thread-149518.html
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/1228

Thanks for contributing to MyBB!

Regards,
The MyBB Group