Test image pls ignore
chat
10/10 image
Test image ... Nope "Syntax error unexpected token '<' is not valid JSON"
I'm doing this from my phone. Wonder if it would work differently on a laptop...
Let me check maybe we need more storage EDIT: still storage left and it works fine for me
for me it only seems to happen when I try to create a post and I get a vague error in the bottom left.
I also have this image showing the request headers in firefox, I do want to note that the request has no payload nor any follow-up requests so that might be a start to begin hunting for this bug.
https://github.com/LemmyNet/lemmy/issues/3349
The max I can upload is 1MiB
edit: oh ok https://github.com/LemmyNet/lemmy-ui/issues/1532
So the user-end solution is to make images smaller. ~~I wanted to write a post about that since weeks~~
For this specific situation you could use
mkdir optimized
jpegoptim -S 1000 -s -d optimized <image files>