this post was submitted on 01 Feb 2025
14 points (88.9% liked)

Lemmy Support

4711 readers
40 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 6 hours ago

the default appears to be StoreLinkPreviews in v0.19.8

https://github.com/LemmyNet/lemmy/blob/0.19.8/crates/utils/src/settings/structs.rs#L85-L88

but in the main branch it's ProxyAllImages, so I guess that'll be for a future release

https://github.com/LemmyNet/lemmy/blob/main/crates/utils/src/settings/structs.rs#L74-L77