One complication is SVG images. An SVG map from Wikipedia was posted in Linguistics chatAn SVG map from Wikipedia was posted in Linguistics chat, http://upload.wikimedia.org/wikipedia/commons/7/76/Berne_Convention_signatories.svg.
Wikipedia maps are fairly detailed and can be several megabytes. This image was enough to make Firefox visibly slow down.
I suspect someone could perpetrate a denial-of-service on everyone in a chat room simply by posting a huge SVG image, large enough to make people's browsers unusable and possibly crash.
In order to prevent this, we would have to detect SVG images and render them to PNG. (Having Imgur support this would help.)
(In fact, you can do the same thing on the main site, using ![blah](http://upload.wikimedia.org/wikipedia/commons/7/76/Berne_Convention_signatories.svg)
.)