• ekZepp@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 years ago

    All you have to do is to add ! In front of the link command and add the exact link of the file

    ! [ ] ( linkfile .gif )

    • simple@lemmy.mywire.xyzOPM
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      The problem isn’t the linking part, it’s the upload part (to even get a linkfile.gif part). When I was trying to upload via Lemmy for the post, it gave the the “Format Unsupported Error”. I’ve been digging into the pict-rs code (the service that Lemmy uses for storing images), which is open-source, to understand why, since it clearly supports WEBP images and video.

      Interestingly, I’ve tried uploading the webp file to Imgur, and it’s also complaining about invalid file type. So it must be something with the file? Even though it opens find in my image viewer and also the browser.

      • ekZepp@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        2 years ago

        I’ve tested imgur links too and they don’t work. All gifty links have worked so far. Remember to not leave any space in the command.