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.
See the config.hjson for image_mode
https://github.com/LemmyNet/lemmy/blob/main/config/defaults.hjson#L25-L57
Great! Thanks!
Now I just have to somehow prune the old images…
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?
Maybe pictrs does it by itself. It’s still working like crazy after I did the change without any user-uploads happening.
this might help https://monero.town/post/2020876
I guess you could call
GET /internal/hashes?{query}
to see all the images
is the default thumbnails?
the default appears to be
StoreLinkPreviews
in v0.19.8but in the
main
branch it’sProxyAllImages
, so I guess that’ll be for a future release
There was a post on [email protected] recently about pictures management, maybe that can help
For anyone curious, I think that is the post: https://lemm.ee/post/53212164
Indeed, thanks!