it’d be nice if it automatically scales the image to lower resolution and put a warning “this image will be downscaled to fit within filesize limits”
We’ll figure out this limit. Just keep reducing file size by half and increasing by a quarter. I have some vacation days to burn.
Fun. What app is that?
Avelon, it’s a lemmy iOS app.
Software dev here.
Client app have little to no knowledge about server limit.
Usually the limit is set at various places in the server. Even the server app itself does not know it’s file size limit most of the time.
Anyway the screenshot is still worthy of the topics.
Still though if the limit is blocking a single image from being uploaded it’s going to be pretty small. I can WhatsApp a 4K image because it’ll do down sampling to 720p, it seems odd that the same tactic wouldn’t be implemented here.
Resize without resampling is not resource intensive and appear not as good as resampling.
Still server has to
- Accept file (needs bandwidth and storage space)
- Resize (needs storage, RAM and CPU)
- Clean up (needs CPU)
I don’t know lemmy has this feature or not. Even if not, as Lemmy server get mature this feature might get implemented. Server might allow admin toggling this feature.
Recent attack on Lemmy servers with CSAM made server admins to completely turn off the image upload. That could also be the case here.
No hard feelings, I hope! I love the app, the screenshot was just too good to pass up! :)
Not the avelon dev. Just a nobody software dev.
Just sharing my exp.
deleted by creator
quit making shit up
Here is the faq related to what I am talking about.
https://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/
Server (application) does not know the site upload limit because it was set by reverse proxy. Any of them could reply with http 413 status and client will just show you the message like screenshot.
I‘m guessing the API doesn’t return that info and it‘s different from instance to instance. Other clients also don’t show it. I noticed that it is also a question of dimensions, not just file size. But a terrible experience all around. I gave up and been using Imgur ever since.
I can’t remember which instance, but I did see a post from the admin of an instance who said they had to limit basically anything bigger than the avatar because they didn’t want to be a host for questionable material. I imagine a lot of instances have similar “no image hosting” policy.
Didn’t expect to see my own app in softwaregore 🥲
If it’s any consolation the error is just straight from the API
Sorry, I love the app, just couldn’t resist screenshot. ;)
Keep up good work!
I’m sorry for you.
There is a stray by where I live with a fluffy black cat just like this one. Do you know what the breed is?
Cat
void
A lot of cats you see don’t have a breed like dogs. This one is probably a domestic long hair black cat, aka a cat