this post was submitted on 08 Nov 2024
12 points (100.0% liked)
Lemmy talk
125 readers
1 users here now
Chat/Questions about our Lemmy instance or Lemmy in general
Useful Links
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Testing image uploading with new pictrs update
It seems like uploading animated .gif files may be currently broken. The server returns a 400 error with the message "Too wide".
Dunno if this was an issue before the upgrade, as I'm not sure I ever tried to upload a .gif file before; I usually upload .png files. Just wanted to give you a heads up either way.
Edit: And thanks for hosting this instance and putting in the effort to maintain it. I'm also happy to assist in any troubleshooting or other diagnostics that would help with its upkeep, should you want an extra set of eyes.
I’ll have to check if pictrs added some gif upload attributes to their settings. I think I remember seeing an option. I’ll try fixing this today!
Edit:
Yea it’s set to 256x256 max. Not sure what a great max size should be… I'll bump it to 512 for now, but we can always use external URLs as well that are larger.
Edit 2:
Bumped max size to 512 and removed pixel count all together. Tested below. If we need more than 512, we can bump it. Photo storage is sorta an issue but we should be good for a while.
Edit 3:
Also, it kinda sucks that lemmy-ui doesn't just bubble up that error in a toast or something. I get it on Voyager for iOS as an error "Image too wide/tall" or "Too many pixels" so I know it's in the response.
Ahh, gotcha. Thanks for looking into it