@Darkassassin07@lemmy.ca avatar

Darkassassin07

@Darkassassin07@lemmy.ca

🇨🇦

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Damaskox, to kbinMeta
@Damaskox@kbin.social avatar

How does one embed a GIF so it shows in a comment without clicking any links?

Test: https://tenor.com/fi/view/this-is-just-sad-sad-angry-mock-horror-gif-11156785

Test 2: <div class="tenor-gif-embed" data-postid="11156785" data-share-method="host" data-aspect-ratio="1.77515" data-width="100%"><a href="https://tenor.com/view/this-is-just-sad-sad-angry-mock-horror-gif-11156785">This Is Just Sad Angry GIF</a>from <a href="https://tenor.com/search/this+is+just+sad-gifs">This Is Just Sad GIFs</a></div> <script type="text/javascript" async src="https://tenor.com/embed.js"></script>

Test 3: I tried to add it as a picture as a file from the computer but editing this comment doesn't add it.

#kbinMeta

Darkassassin07,
@Darkassassin07@lemmy.ca avatar

If i remember right: text (same way you do a hyperlink, the ‘text’ becomes irrelevant for image links)

Example:

https://file.benflix.pw/images/mario.gif

Oddly, the gif doesn’t animate until you click on it (using Jerbora for Lemmy)

Darkassassin07,
@Darkassassin07@lemmy.ca avatar

That’s down to your client being incompatible then.

https://lemmy.ca/pictrs/image/cf158e82-7435-450d-8200-d48941d4132b.jpeg

Darkassassin07,
@Darkassassin07@lemmy.ca avatar

I should also note:

You’ve gotta use direct image links, not links to pages with gifs embedded in them.

So:

media.tenor.com/…/this-is-just-sad-sad.gif

Not:

tenor.com/…/this-is-just-sad-sad-angry-mock-horro…

Darkassassin07,
@Darkassassin07@lemmy.ca avatar

Wow… That client is garbage…

Those are literally just raw text urls. No formatting at all. Your client is deciding to try and load/embed any and every link it comes across.

Mainly you’re looking for links that end in an image file extension (.gif/.jpg/.jpeg/.png/etc) if you’re going to embed them as images in a comment/post. I doubt you’ll be able to with that client though… I don’t use lemmy/kbin on desktop so I’ve got no advice there.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • •
  • random
  • meta
  • Macbeth
  • All magazines