MediaWiki:Chat.css

img[onload] { width: 0px !important; height: 0px !important; border: none !important; }