3

Even 1080p is failing. Got 480p to upload. Lemmy.world has no problem uploading full size images from iphone.

top 6 comments
sorted by: hot top controversial new old
[-] Ategon@programming.dev 3 points 1 year ago

I believe the limit is 1MB on all instances by default so should be what our current limit is as well

[-] nieceandtows@programming.dev 1 points 1 year ago* (last edited 1 year ago)

No it’s definitely higher on Lemmy.world. I uploaded the same image from there successfully (6.6mb). The limit seems to be on the resolution itself. I just exported the same image in the same resolution (4032x3024) but downscaled to 1.4mb and I’m still getting the too big error on programming.dev

Edit: I could swear your comment said 2mb.

[-] Ategon@programming.dev 6 points 1 year ago

yeah lemmy.world probably overrided the default limit with something higher. We havent done so yet so will still be on the default

[-] nieceandtows@programming.dev 4 points 1 year ago

I think 1MB is too low for a good user experience. Having to first have to first downscale images taken from the phone is a big point of friction for mobile users.

[-] StudioLE@programming.dev 7 points 1 year ago

You can upload images to third party sites and post the link instead.

[-] ruffsl@programming.dev 2 points 1 year ago

Perhaps pict-rs, Lemmy's image hosting backend, could auto downscale image uploads and only fail if the input was egregiously large to preserve upload bandwidth and avoid DDoSing. Would still be another added workload for the server.

Perhaps down scaling would be best done on the client side, then the resulting effect would be more transparent to the user before submission. Could that be done in easily in JS? Then that could help save storage and egress expenses for hosting funded only by donations.

load more comments
view more: next ›
this post was submitted on 14 Jul 2023
3 points (100.0% liked)

Programming.dev Meta

2365 readers
1 users here now

Welcome to the Programming.Dev meta community!

This is a community for discussing things about programming.dev itself. Things like announcements, site help posts, site questions, etc. are all welcome here.

Links

Credits

founded 1 year ago
MODERATORS