this post was submitted on 02 Jul 2023
1 points (100.0% liked)

Meta (lemm.ee)

3535 readers
1 users here now

lemm.ee Meta

This is a community for discussion about this particular Lemmy instance.

News and updates about lemm.ee will be posted here, so if that's something that interests you, make sure to subscribe!


Rules:


If you're a Discord user, you can also join our Discord server: https://discord.gg/XM9nZwUn9K

Discord is only a back-up channel, [email protected] will always be the main place for lemm.ee communications.


If you need help with anything, please post in !support instead.

founded 1 year ago
MODERATORS
 

Even if it's less than 100kb, the JSON issue prompts everytime I upload one. How can I resolve this?

Thank you.

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 1 year ago (1 children)

I still have this issue, I get an error saying

SyntaxError: JSON Parse error: Unrecognized token '<'

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

You may try compress the picture to less than 100kb. Mine is less than 50kb already.

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

I managed to get it working, but I think the issue wasn’t the file size and rather the image dimensions. My image had 1000x1000, scaling it to 250x250 fixed it. (That correlates of course, but the 1000x1000 was already only around 200kb)

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

Same, same. I think this was done to conserve storage on lemm.ee servers.

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

This stems from how other instance admins reported issues with scalability of Lemmy's multimedia storage, and the fact it can inflate cloud costs very much.