This userscript unsquashes inline images in comments by fetching the source image and downscaling it to 50%.

Requires *monkey extension to run (greasemonkey, tampermonkey, violentmonkey, et al)

Edit: also updated it to support the thread index

  • shazbot@kbin.socialOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Not sure I follow you. I don’t have auto media preview on. This only uses the full-size images, it stops loading the downscaled thumbnails from the server. You can click to trigger a modal or you can middle click to open in new tab.

    • blazera@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      without the script, you click on the thumbnail and it opens the thread, you click the thumbnail again and it opens the full image. But with this script, the thumbnail in the thread is gone and cant be clicked.

      • shazbot@kbin.socialOP
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        OK, I was able to reproduce it. It doesn’t apply to posts where the thumbnail is auto-extracted from an upstream page. It only applies to posts with an attached image (a meme pic etc). I’ve made a note to fix it.