12

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
[-] Max_P@lemmy.max-p.me 9 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.

[-] davel@lemmy.ml 3 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.

this post was submitted on 11 Oct 2024
12 points (92.9% liked)

Lemmy Support

4656 readers
15 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS