I’m building a refugee community for a subreddit (or two) I used to moderate, and I’m trying to add an icon and I keep getting the error message “SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data”. I couldn’t find any documentation about the expected size of icons and banners, so I don’t know where to start.

Thanks!

  • n0mgoose@lemm.eeOP
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Looks like icons are 600x600, based on what everyone elses icon was. Didn’t find it in the docs, but cutting my image down worked wonders. Thanks!

    • sunaurus@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Hey! The main limit at the moment is actually that all uploaded images should be smaller than 100kb. I assume that by resizing, you also cut down on the file size, and that is what solved the issue. Glad you got it working!

      • n0mgoose@lemm.eeOP
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        I did not change the file name, just resized it in paint and boom, it worked.