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

      Well, you can respond to posts with gifs, and I think I’ve seen a few posts using gifs?

      So not really sure why it’s not working for me. I’d ideally want to avoid using the GIF format and use WEBP, which offers much better quality to size ratio. But for whatever reason, it’s not letting me upload WEBP, and when I tried uploading the GIF version, it turned it into a video or something, with the play, pause and all that (which also doesn’t work well with mobile apps).

      • 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.