Can’t post images, says "SyntaxError: Unexpected token !DOCTYPE “… is not valid JSON”

  • Darkassassin07@lemmy.ca
    cake
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 months ago

    When you finish uploading you’re brought to a full webpage with the image embedded in it like this:

    https://imgur.com/a/SzSKW5M

    You want to right-click on the image and select ‘open image in new tab’ which gives you this:

    https://i.imgur.com/GFTwYm3.jpg

    (if you’re on mobile first select ‘desktop site’ from the browsers options or you’ll get a low quality .webp version from the open image button. It’ll work, but many ppl hate it)

    Finally format it like this to embed it in a post/comment:

    ![](https://i.imgur.com/GFTwYm3.jpg)

    (I added backslashes to the front of that to prevent it embedding the link as an image and show you the formatting instead)