this post was submitted on 08 Aug 2023
8 points (90.0% liked)

Feddit UK

1360 readers
1 users here now

Community for the Feddit UK instance.
A place to log issues, and for the admins to communicate with everyone.

founded 2 years ago
MODERATORS
 

JSON.parse: unexpected character

I keep getting this error code when I try to upload photos, even if I save them from paint. It happens if it's png or jpg. Can someone help me?

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago

I had this too. You have to scale the image down.

I think there is a size limit, but they don't tell you what it is :P

I managed to upload images ~1MB in size.

Really I think the image should be auto-resized, as this is a PITA for users.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I normally upload to pixelfed.social and then create a jpg link to share to Lemmy.

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago (1 children)

I use Lensdump but, yeah, we should try and take the load off the server if possible.

[–] [email protected] 2 points 1 year ago

Yeah that's true