By default Lemmy seems to be mirroring every link’s preview image. Even when that link was originally posted on an external Lemmy instance. That can put quite a strain on small servers. Is there a way to disable this? Ideally I would have pict-rs just be used to host the images my users upload and nothing else.

Solved:

Add

  pictrs: {
    image_mode: "None"
  }

to lemmy.hjson.

  • Björn TantauOPA
    link
    fedilink
    arrow-up
    3
    ·
    7 hours ago

    Great! Thanks!

    Now I just have to somehow prune the old images…

    • Die4Ever@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      7 hours ago

      I think there’s a guide for that somewhere? Maybe I can try looking for it tomorrow if no one else finds it first. I think the admin control panel that shows uploaded images might also show the federated ones?

      • Björn TantauOPA
        link
        fedilink
        arrow-up
        2
        ·
        7 hours ago

        Maybe pictrs does it by itself. It’s still working like crazy after I did the change without any user-uploads happening.