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 .
×
Create a free account

Unable to place a gif into attack/spell prompts?

It worked out perfectly fine for other people but I do not know why it doesn't work on me. It should be [ignoretext](URL.gif) right?
1606759290

Edited 1606759320
The Aaron
Roll20 Production Team
API Scripter
Because of the way that images are supported as a special case url link, it only looks for .jpg and .png files.  You can get around that issue (and the issue of URLs that don't end in image extensions) by appending a URL Fragment to clue in the parser to it being an image: [ignoretext](URL.gif #.png ) Appending #.png to the URL will let the parser understand that it should treat that link as an image.
I have never had to do that. I use *.gif links all the time in Roll20. It could be that the template the OP is using doesn't support an image output.
1606811100

Edited 1606811218
vÍnce
Pro
Sheet Author
Dakota H. said: I have never had to do that. I use *.gif links all the time in Roll20. It could be that the template the OP is using doesn't support an image output. Some url's to image links might look like; <a href="https://s3.amazonaws.com/files.d20.io/images/106406303/B6jOZ1zkWBahi5KQ-up44A/thumb.jpg?1583176727455" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/106406303/B6jOZ1zkWBahi5KQ-up44A/thumb.jpg?1583176727455</a> notice that it's an image, but it doesn't end with an image extension (.jpg, .png, .gif, etc.) You could either remove those extra characters after ".jpg 1583176727455 " or you can use Aaron's trick and simply append ".png" on the end of it. Here's a handy macro that will do this auto-magically if you want to easily post to an image to chat. [Image](?{URL}#.png)
The Aaron said: Because of the way that images are supported as a special case url link, it only looks for .jpg and .png files.&nbsp; You can get around that issue (and the issue of URLs that don't end in image extensions) by appending a URL Fragment to clue in the parser to it being an image: [ignoretext](URL.gif #.png ) Appending #.png to the URL will let the parser understand that it should treat that link as an image. Thank you so much! This worked very well. ∇ince said: Dakota H. said: I have never had to do that. I use *.gif links all the time in Roll20. It could be that the template the OP is using doesn't support an image output. Some url's to image links might look like; <a href="https://s3.amazonaws.com/files.d20.io/images/106406303/B6jOZ1zkWBahi5KQ-up44A/thumb.jpg?1583176727455" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/106406303/B6jOZ1zkWBahi5KQ-up44A/thumb.jpg?1583176727455</a> notice that it's an image, but it doesn't end with an image extension (.jpg, .png, .gif, etc.) You could either remove those extra characters after ".jpg 1583176727455 " or you can use Aaron's trick and simply append ".png" on the end of it. Here's a handy macro that will do this auto-magically if you want to easily post to an image to chat. [Image](?{URL}#.png) Sorry but this didn't work out~