I know how to add a picture but I was hoping there was a way to add a gif.

    • SatyrSack@quokk.au
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 hours ago

      ![turk from scrubs dancing ](https://giphy.com/gifs/L6NEFYDhB7o7S)

      That URL there is not the GIF file itself. That URL points to a web page that displays the file when you visit the page in a web browser. But to embed an image in a Lemmy comment, you need to refrerence the actual image file itself.

      Notice that the end of the URL below actually is .gif. That is a URL to the actual GIF file itself, not a URL to a web page.

      This is the most direct link I could find to that GIF, which just looks big and unwieldy, but does seem to display here alright:

      ![](https://media2.giphy.com/media/v1.Y2lkPTZjMDliOTUyeDJlenVhbmVjb2c5dzZ4d2I4eWhodTRtNmMzNHc3aXl2bzByOXdicCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/L6NEFYDhB7o7S/giphy.gif)

  • davel [he/him]@lemmy.ml
    link
    fedilink
    English
    arrow-up
    13
    ·
    19 hours ago

    I know how to add a picture

    GIFs are no different. It’s a very size-intensive format, though, and Lemmy will reject files over a certain size.

  • Shellofbiomatter@lemmus.org
    link
    fedilink
    English
    arrow-up
    9
    ·
    18 hours ago

    Yeah, exactly the same way to add a picture.

    It just seems to be slightly buggy, need to try multiple times with pictures/gifs that have been on the device for longer time. No issues with pictures that i just downloaded.

  • TheOrcWhoWrites@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    19 hours ago

    You need to host the gif on another site like pixelfed, I think. Or imgur. Something like that.and use the input link icon when posting the comment.

      • WhoIzDisIz@lemmy.today
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        19 hours ago

        Looking at the source of your comment, that’s WEBM in MP4 clothing.

        ETA Media Info:

        General Complete name : img_E009A241FEE37525183350662ED905D0E523DA78D6F777D498512F880D968DCF.mp4 Format : WebM Format version : Version 2 File size : 80.6 KiB Duration : 1 s 500 ms Overall bit rate : 440 kb/s Frame rate : 10.000 FPS Writing application : Lavf60.16.100 Writing library : Lavf60.16.100 FileExtension_Invalid : webm Conformance warnings : Yes General compliance : File name extension is not expected for this file format (actual mp4, expected webm)

        Video ID : 1 Format : VP9 Format profile : 0 Codec ID : V_VP9 Duration : 1 s 500 ms Bit rate : 416 kb/s Width : 444 pixels Height : 222 pixels Display aspect ratio : 2.000 Frame rate mode : Constant Frame rate : 10.000 FPS Chroma subsampling : 4:2:0 Bit depth : 8 bits Bits/(Pixel*Frame) : 0.422 Stream size : 76.2 KiB (94%) Writing library : Lavc60.31.102 libvpx-vp9 Default : Yes Forced : No Color range : Limited

          • Vanth@reddthat.com
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            19 hours ago

            Huh, I don’t know where to find the metadata like you did, @WhoIz. This one was for sure a .gif file.

            I see a static frame of the gif in the comment and then click on it to fill screen and see the gif do it’s gif thing. *Still on Voyager client