Trouble uploading a banner for my community

I keep getting this error when trying to upload a banner: "SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data"

Has anyone else encountered this? I've uploaded banners on other lemmy instances with no issue. But lemm.ee seems to have issues with banners for some reason.

2 points · 8 comments · view on lemmy.world

8 Comments

Frantickoala@lemm.ee · 4 pts · 3y (1 reply)

I get the same error but when i try and set an icon or banner. I tried multiple images, aspect ratios and file sizes.

EDIT: lemm.ee limits photo uploads to 100kb.

Terevos@lemm.ee · 1 pts · 3y

Ah. OK. That's super helpful

AirlockDoc@lemm.ee · 3 pts · 3y

It is also a Size thing. Has to be smaller than 100kb in size.

infeeeee@lemm.ee · 1 pts · 3y (1 reply)

What is the aspect ratio of the image? I got this error when I tried to upload a wide banner image, tried something more closer to a square, something like 4:3 and it worked. Let lemmy crop it to the correct ratio.

Terevos@lemm.ee · 1 pts · 3y

I'll give that a try

Tankton@lemm.ee · 0 pts · 3y (1 reply)

Just use an external url and its fine. Its due to the file size #

Terevos@lemm.ee · 1 pts · 3y

You can't use an external URL for a community banner