Sadly true. While I don't use IRC much, looking at older posts from fora without on-forum file storage and I just see photos roughly like this Imgur example (https://imgur.com/NOnf.jpg). Heck, even older HN posts suffer from the same problem.
I can of course see the appeal of all those features, but at least for me it translates into a much worse UX in the end.
The users then use other services which have these features and the irc users claim some grand conspiracy to kill open protocols.
Discord does this already.
I'm no stranger to the IRC protocol (in fact one of my first submissions to this site 12 years ago in 2010 was an introduction to the protocol written as part of building an Android client that was my side project at the time), but I have no interest in putting in the time to make an IRC client with the experience I'd like in 2022, which is clearly a much lower bar on matrix when Element, nheko, Cinny, FluffyChat and Fractal have all managed it.
(Not affiliated, just a happy user.)
Element (Matrix) and Slack will render something like this as 3-5 lines with the expansion option to see all of it. I'm sure discord will eventually do the same too.
This is clearly preferable to using a different application entirely to view the snippet.
It's only IRC where some naive clients expand this out into 20 something messages where this is a problem. And since it's not part of the protocol, you're at the whims of the sender's client for how it's handled, so it's not like you can install a sufficiently smart client to render it how you like in all cases.
I'd also suggest your perspective of how much a problem even that 20 lines of text is is distorted by being in fast moving public chatrooms, like your typical Linux distro channel. In my small team or friends chat, it's perfectly fine
The same also applies to the gif. If this one bothers you, most clients even have the options to disable inline images, so the sender gets to choose. Also it means you just get the image file, and not whatever cruft the popular image host of this 5 year period is doing to monetise.
Image hosts and pastebins also seem more fragile than chat services. I've occasionally gone through old messages that link to pastie or similar and the context is gone.