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

Lemmy Support

4655 readers
10 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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 month 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 month ago

Interesting idea, thanks

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

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

[–] [email protected] 1 points 1 month ago* (last edited 1 month 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.