@cobaltsnow @satori I took some time overnight while I couldn't sleep to throw together a Userscript that would not just hide the media, but make it toggleable.
If you're not familiar with userscripts, no worries, all you need is a script manager extension like Tampermonkey or Violentmonkey, and it handles installation for you when you click on the link.
I worked out obvious issues but some might still pop up, so if you use it let me know so I can patch it.
https://greasyfork.org/en/scripts/482767-baraag-collapse-media-in-notifications-by-default