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 can set the allowed file size to be really low, but users will still be able to upload, or at least attempt it.
Found it: https://lemmy.dbzer0.com/post/17357923/9209304
On 0.19.3, you can:
- Limit the file upload size for local users through nginx configuration
- Disable incoming federated images through Lemmy configuration: https://github.com/LemmyNet/lemmy/blob/main/config/defaults.hjson#L49 (set this to false)
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.
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?
Can you set a really small min file size for uploads?