this post was submitted on 11 Oct 2024
1 points (100.0% liked)

Lemmy Support

4655 readers
2 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Whenever I try and upload an image, it does not work.

Somebody reminded me recently that if you resize the image and make the file size smaller, it will work.

I'm wondering if anybody knows what the actual file size is as a maximum that I can upload?

Rather than just wing it, I would like to create a script that will create the appropriate file size.

I don't want to be greedy and use up heaps of resources, but I'd like to find what the happy balance is and make sure it works within the limits of the system.

Thank you so much.

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 1 month ago

This is set by the instance admin: https://git.asonix.dog/asonix/pict-rs/src/branch/main/pict-rs.toml Some instances may not allow image uploading at all. AFAIK, neither the Lemmy API nor the pict-rs API exposes this information, so there’s no way to know in an automated fashion.

[–] [email protected] 0 points 1 month ago

It's instance dependent and likely small on bigger instances to reduce storage costs as it can grow really big. I don't know the exact number for lemmy.ml.