this post was submitted on 09 Oct 2024
19 points (100.0% liked)

Lemmy Support

4650 readers
16 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

I know the issue has been answered before, but does anyone know if there exists some kind of work-around until the actual disable-image-upload is implemented in Lemmy?

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 week ago (1 children)

I am sorry, but if you are running the instance, unless you are running a large instance, can't you just not upload images yourself, and tell those that does have an account to not do it?

[–] [email protected] 3 points 1 week ago (1 children)

IIRC images also get federated over to your instance.

[–] [email protected] 2 points 1 week ago (1 children)

Ah, after rereading the post, that is probably what OP are looking for

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

Well, both. I want to grow my instance a bit and also don't want other people to post weird stuff in my communities

[–] [email protected] 2 points 1 week ago (2 children)

You can set the allowed file size to be really low, but users will still be able to upload, or at least attempt it.

[–] [email protected] 2 points 1 week ago

Interesting idea, thanks

[–] [email protected] 1 points 1 week ago (1 children)

Where can I find that option? Is it during instance-setup?

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

Found it: https://lemmy.dbzer0.com/post/17357923/9209304

On 0.19.3, you can:

Additional: On https://github.com/LemmyNet/lemmy/blob/main/docker/nginx.conf, there is an option "client_max_body_size" that you can set to 0.

[–] [email protected] 1 points 1 week ago

Can you set a really small min file size for uploads?