[Pushed] Broken avatars
#1
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.


Attached Files Thumbnail(s)
   
No longer involved in the MyBB project.
Reply
#2
Maybe the box size should be forced to a certain size..
Reply
#3
(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.
Reply
#4
Might the :empty CSS selector help? I've not looked at the HTML but that's exactly what the selector's for.
Reply
#5
^ 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.
Reply
#6
I agree - because there is no default avatar for broken ones, just for no avatar
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#7
(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.
Reply
#8
Sounds like a nice idea, replace all broken avatars with the default one.
Reply
#9
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
Reply
#10
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)