Anyone else completely unable to upload images?

What the title says. I’m trying to upload an image but whenever I go to attach it, I just get SyntaxError: JSON Parse Error: Unrecognized token '<' twice. I’d demonstrate but uh that’s kind of my issue. I’ve tried from the site on mobile and on desktop and it’s the same issue. Community doesn’t seem to matter because I don’t even have to get that far to try.

23 points · 11 comments · view on lemmy.world

11 Comments

McNasty@sh.itjust.works · 6 pts · 3y (5 replies)

Seems like it might be due to file size. Anything more than a few hundred kilobytes fails to upload.

NinjaCheetah@sh.itjust.works · 4 pts · 3y

Yeah ok this was indeed the solution, compressed the image down to ~600KB and it uploaded fine.

remi_pan@sh.itjust.works · 4 pts · 3y

Got same error, solved by reducing size. The error message would need some improvement, though...

Difficult_Bit_1339@sh.itjust.works · 3 pts · 3y

Yeah it's a file size issue. I had the same problem trying to upload a gif.

TerraRoot@sh.itjust.works · 3 pts · 3y

Haven't tried uploading an image today, had same error as you, didn't work on jerboa, did work on mobile site.

Will try again later (when I have something to post)

NinjaCheetah@sh.itjust.works · 2 pts · 3y

Ah ok. I shall attempt some image compression and see if that works shortly.

Zeppo@sh.itjust.works · 5 pts · 3y (1 reply)

Yeah, I was having that issue. Now that I read the comments here I realized that I was trying to upload a 3200x3200 image, which is pretty unnecessary for a picture of a pizza. Changed it to 1000x1000 and it went through with no problem.

BlackJerseyGiant@sh.itjust.works · 1 pts · 3y

This is the way.

Barbarian@sh.itjust.works · 3 pts · 3y

@TheDude@sh.itjust.works was saying a while ago that storage is gonna be a problem. Why not just link your image instead of uploading it? Format is ![](https://url-of-image-here)

Wander@yiffit.net · 2 pts · 3y

Tell your instance admin to increase the maximum file size.