Getting the following error every time I try to upload an image anywhere on the site:

SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
    at parse (<anonymous>)
(anonymous) @ client.js:1

Is this a site wide issue or something I could fix?

You are viewing a single thread.
View all comments
9 points

There’s a size limit of 100kb, it needs a more explanatory error though.

permalink
report
reply
2 points

Is that going to change? 100kb seems quite low

permalink
report
parent
reply
1 point

Honestly, no idea. My account is mostly focused on crafting so I share a lot of photos of projects, it would be handy, but I completely understand that letting us upload and store images would significantly increase the resources needed for the server. Luckily it’s easy to add images hosted elsewhere.

I think Sunaurus did say he’d look at potentially upping it eventually, but when that might be or whether it’s even going to be feasible I couldn’t say

permalink
report
parent
reply
2 points

I think the idea behind a low limit is to push people into linking to image hosting sites instead of hosting a ton of media on here.
I too would prefer images to be hosted locally, but I get that storage and associated costs can snowball pretty quick with something this big.
The 100kB limit should be OK for avatars and banners, which can’t be hosted elsewhere.
Hopefully, it can be bumped a bit higher in the future.

permalink
report
parent
reply

Meta (lemm.ee)

!meta@lemm.ee

Create post

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:

  • Support requests belong in !support
  • Only posts about topics directly related to lemm.ee are allowed
  • If you don’t have anything constructive to add, then do not post/comment here. Low effort memes, trolling, etc is not allowed.
  • If you are from another instance, you may participate in discussions, but remain respectful. Realize that your comments will inevitably be associated with your instance by many lemm.ee users.

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

Discord is only a back-up channel, !meta@lemm.ee will always be the main place for lemm.ee communications.


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

Community stats

  • 50

    Monthly active users

  • 264

    Posts

  • 7.4K

    Comments

Community moderators