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! :)

  • Salamander@mander.xyzM
    link
    fedilink
    arrow-up
    1
    ·
    1 year 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?

    • moosepuggleOP
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      oh! i’m on the startrek.webpage lemmy site, i dont have my account here in mander. does that explain it?

      • Salamander@mander.xyzM
        link
        fedilink
        arrow-up
        3
        ·
        1 year 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!

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

          hmm, I exported the .tif into a .jpg, and into .png, and I still got the Syntax error when trying to upload in a new post?

      • moosepuggleOP
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        thank you! i love the new in situ HCR method for showing gene expression, the images are always so pretty! :)

    • moosepuggleOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year 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 :)

      • Salamander@mander.xyzM
        link
        fedilink
        arrow-up
        2
        ·
        1 year 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.