Error message is SyntaxError: Unexpected token ‘R’, “Request er”… is not valid JSON

Are image uploads not allowed here? Only URLs? Thanks! Hoping this community grows and flourishes! :)

    • SalamanderMA
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I was able to upload it with both an admin and a non-admin account:

      https://mander.xyz/post/747592

      One idea: microscopy image files can be very big. Perhaps imgur compressed it considerably, and that’s why I was able to upload it after downloading it from there. How big is the original file that you tried uploading?

        • SalamanderMA
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          No, I just tested. The .tif format is not supported by lemmy. When it is uploaded to imgur it is transformed into a .png, so it works then!

            • SalamanderMA
              link
              fedilink
              arrow-up
              3
              ·
              2 years ago

              Then I think it may be a problem with startrek.website

      • moosepuggle@startrek.websiteOP
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        original image is 3.9Mb, its a tif made from the z stacks of the super huge .lsm files. is 3.9Mb too big for here? Sorry, I’m a new reddit refugee, learning how this lemmy thing works :)

        • SalamanderMA
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Ah, sorry, I thought you had already looked at that. I deleted the test post after a bit - it was simply a post of the image made by a test account.