Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Stuck in a login loop? Try manually signing out and back in before launching your game. Otherwise, contact the Help Center!
Create a free account

Saw somebody insert a GIF into their macro

so a couple campaigns ago probably 2 months ago, i played with a person that whenever they would shoot with their gunslinger a gif would come out. It looked pretty cool, it was a gif of a guy shooting his gun, so i was wondering if anybody new how to insert pictures or gifs into the chat or macros without just linking a url?
1474108644

Edited 1474120929
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Use the embedded link syntax and make sure your link ends in an image ending. [Text here, doesn't matter for images](imageurl.jpg or .gif) Or using an html fragment: [Text here, doesn't matter for images](imageurl#.jpg or #.gif) I've never used the gif way, so not sure if that actually works EDIT: Have now tested it, worked perfectly. May have to start adding some gifs to my monster's actions to scare the pants off of my players
Hah! It does work! That's so neat.  I wonder if you can make it go full screen like when you use shift - Z.
im actually not good with macros, could you give me a barney style example
1474127999

Edited 1474130733
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Sure, put this into your chat: [A sword lady]( <a href="http://i.imgur.com/3y4vS0Y.gif" rel="nofollow">http://i.imgur.com/3y4vS0Y.gif</a>) It will output the gif to your chat box. @Labyrinth, I don't think you can force it to full screen for everyone since you can't do that for anything else in the chat window that I know of. EDIT: Don't know if that was barney style per se, but it is as simple as it gets. You should be able to put that syntax anywhere you want. The text inside the square brackets doesn't matter as it displays the image rather than hyperlink embedded text (which is what the syntax does if you don't have an image file ending on the url) As for me, now I need to go on a gif hunt and look for appropriate gifs for all the creatures my players will be encountering, as well as some of the more impressive areas they'll be visiting so that I can output a gif of the action to them
1474145897

Edited 1474146004
Gold
Forum Champion
Good info Scott. Here is my super-macro for Chat Pic posting. If you save this as a macro button, it provides an interface for posting pics so that the Player does not need to remember how to write the code, brackets and so on. &nbsp;This method will also display the caption text in chat instead of just hiding it. &nbsp; This has a default picture of a Roll20 symbol that you'll see in-chat if you didn't enter a new picture URL. So leave the code intact, you'll be replacing the image URL when you actually use the macro in-game. /me describes it so you can imagine this, ?{What is it a picture of? Write a concise caption:|Picture of } [Image](?{Image URL ending with JPG, GIF, or PNG|<a href="https://app.roll20.net/images/quantumroll2.png" rel="nofollow">https://app.roll20.net/images/quantumroll2.png</a>})
1474147354
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
That is very handy Gold