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?

4 points

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

permalink
report
reply
2 points

Interesting idea, thanks

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
1 point
*

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.

permalink
report
parent
reply
2 points

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?

permalink
report
reply
3 points

IIRC images also get federated over to your instance.

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
1 point
*

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

permalink
report
parent
reply
1 point

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

permalink
report
reply

Lemmy Support

!lemmy_support@lemmy.ml

Create post

Support / questions about Lemmy.

Matrix Space: #lemmy-space

Community stats

  • 139

    Monthly active users

  • 839

    Posts

  • 4K

    Comments

Community moderators