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

Thank you.

  • 8orange8
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    I also had that problem briefly. Tried it again about 10 mins later and it worked fine.

    • aaaakolokolokolokOP
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      I tried re-uploadin mine every 15 mins since afternoon, but no luck.

      EDIT: Ahhh, finally!

      • 8orange8
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Glad you managed it eventually.

        It’s probably just a bug that needs to be ironed out in the new Lemmy software.

  • fer0n
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I still have this issue, I get an error saying

    SyntaxError: JSON Parse error: Unrecognized token ‘<’

    • aaaakolokolokolokOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

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

      • fer0n
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        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)

          • C.Ezra.M
            link
            fedilink
            arrow-up
            1
            ·
            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.