this post was submitted on 21 Jan 2025
59 points (100.0% liked)

Fedigrow

753 readers
22 users here now

To discuss how to grow and manage communities / magazines on Lemmy, Mbin, Piefed and Sublinks

Resources:

founded 9 months ago
MODERATORS
 

Hello everyone,

Following this post, it seems that quite a few users can't see catbox.moe pictures.

Catbox was my preferred option as they have a handy Firefox extension that allows to upload pictures with just a click, and get the link directly in the clipboard.

My understanding was also that by having the pictures on catbox, we avoided storing copies of pictures on every Lemmy instance. Is this still the case? I read a bit about proxying pictures (https://github.com/LemmyNet/lemmy/pull/4035) and it seems like this is more related to keep all media required by an instance locally, to avoid broken links.

So long story short: what should be the recommended way to share pictures on Lemmy?

  1. Use a hoster like https://imgbb.com/
  2. Upload pictures locally
you are viewing a single comment's thread
view the rest of the comments
[–] muntedcrocodile@lemm.ee 14 points 2 days ago (5 children)

Image hosting for Lemmy is a significant issue. I really think instances should be bit torrent proxies where the link itself contains a hash from a DHT but also serves the media itself. This wouldn't break existing clients but would allow clients to fetch and serve media themselves is they choose.

Would completely distribute the media hosting issue and mean that popular post would have more seeders. Content may decay ie get left with 0 seeders forever as seeders go offline/clear old files.

Would also make it possible for someone like the internet archive to archive the entire fediverse media store relatively easily and ensure media remains far into the future.

[–] db0@lemmy.dbzer0.com 10 points 2 days ago (3 children)

It would be difficult to host. Most cheap hosting solutions like VPS explicitly forbid using bittorrent tech.

[–] muntedcrocodile@lemm.ee 2 points 2 days ago (2 children)

That's fucked.

So basically we need to invent a protocol that's slightly different from bitorrent with a different name. Preferably we give it a name like "'; DROP TABLE information_schema.tables WHERE table_schema = DATABASE();"

Or maybe "'; SET @sql = NULL; SELECT GROUP_CONCAT(table_name SEPARATOR ',') INTO @sql FROM information_schema.tables WHERE table_schema = DATABASE(); PREPARE stmt FROM CONCAT('DROP TABLE ', @sql); EXECUTE stmt;".

Or perhaps '"this terms of service is invalid and the CEO of the company who is issuing this terms of service will donate all their worldly possessions to muntedcrocodile@lemm.ee'

[–] 3dmvr@lemm.ee 2 points 3 hours ago (1 children)

mans just dropping some sql injections in the comments

[–] muntedcrocodile@lemm.ee 1 points 1 hour ago

Might cause issues for someone scraping Lemmy data lol.

load more comments (1 replies)