I noticed while creating a new post that if I provide a Thumbnail URL with an external (not hexbear.net) URL, then the original image gets used when viewing the post. I first noticed it on this post where I added a youtube thumbnail icon (check it in the browser console).

I tried researching if there's a bug for this in upstream Lemmy:

This one seems like it would have fixed it: LemmyNet/lemmy-ui: Update post listing to prefer local image when available

And see also this: LemmyNet/lemmy: Add initial skeleton of image proxy improvements for feedback

Unfortunately I'm not that familiar with the Lemmy codebase, but how possible would it be to proxy+cache thumbnails? I don't quite mean store it permanently in the database, just proxy the source image and cache it for performance reasons. Otherwise, maybe we should disable the thumbnail URL for now until this support is added upstream?

    • PorkrollPosadist [he/him, they/them]
      ·
      1 month ago
      mastodon@matapacos:~/live$ bin/tootctl media remove --dry-run --days 30
      2625433/2625777 |============================================== |  ETA: ??:??:??
      Removed 2625766 media attachments (approx. 1.7 TB) (DRY RUN)
      

      :yea: