Is there an IRC client for Ubuntu with inline media?
The Lounge will let you do that through its link prefetching mechanism. For the record, link previews currently look like this:
This screenshot is part of the whole app, which looks like this:
FYI, the author from Subway (mentioned in the other answer) now recommends to use The Lounge.