• @taaz@biglemmowski.win
    link
    fedilink
    English
    5
    edit-2
    7 months ago

    What a dumb way to do image proxying.

    This is about proxying external images, URL rewrite won’t work unless the image is also downloaded and hosted by the instance (which seems even worse for many reasons).
    Or am I missing something here?

    • Björn Tantau
      link
      fedilink
      English
      97 months ago

      Lemmy will rewrite the image URLs when saving a post.

      But instead the URL should be rewritten when loading the post. That way the original URL wouldn’t get lost and it would also work for old posts.

    • Admiral Patrick
      link
      fedilink
      English
      3
      edit-2
      7 months ago

      You’re missing a lot.

      I’ve done exactly what I described in my comment for the last 8 months: it’s been a UI feature of Tesseract since last October.

      It proxies any image or direct video from any source you haven’t blacklisted. If you have the proxy option enabled in your settings, all image URLs are re-written to go through the proxy. If not, then it uses the regular URL directly. It also caches with an admin-defined policy.