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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Text Chat - Basic Formatting (Dragable Images)

With the new Update, we've been provided some limited MarkDown formatting in the Text Chat bar <a href="https://wiki.roll20.net/Text_Chat#Basic_Formatting" rel="nofollow">https://wiki.roll20.net/Text_Chat#Basic_Formatting</a> With that, comes the ability to directly link and display graphics. Image [Roll20 Logo]( <a href="http://roll20.net/assets/themes/roll20/images/new-logo-white-sm.png" rel="nofollow">http://roll20.net/assets/themes/roll20/images/new-logo-white-sm.png</a> SUGGESTION: Make Images Displayed in Text Chat Dragable to the Map ♦ Allows players to help provide images for tokens, monsters, graphics, etc that come up during gameplay ,♦♦ Avoids cumbersome Character Portrait &gt; Map routine ♦♦ Let's GM choose whether or not to put the image on the map, as players cannot delete an image they've placed, currently. ♦ Opens the possibilities of Spell Shape templates to be combined with spell macros ♦♦ Example: &gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Were the image dragable to the map, it would allow the GM or player to predefine spell shapes rather than drawing them directly on the map.
1426295731
Gold
Forum Champion
Very nice Suggestion write-up and graphical example. I hope this comes to pass!
Mark, I'm glad you made this available much easier than requiring an API script as before. Big questions: I have seen examples of images in chats, but what is the syntax? Is Image a keyword? What goes in the [brackets]? [Roll20 Logo] is not a keyword, I assume. Where are the filenames kept because none of the links in Roll20 have format file extensions. They are encrypted into something else that is not recognized. -Falsoon
1436574227

Edited 1436574280
The Aaron
Roll20 Production Team
API Scripter
Basic Formatting (for those that haven't seen it): <a href="https://wiki.roll20.net/Text_Chat#Basic_Formatting" rel="nofollow">https://wiki.roll20.net/Text_Chat#Basic_Formatting</a> What is in the brackets is a description of the image, which will be used as the Alt property of the &lt;img&gt; tag. This is important if you have players that are using screen readers for the chat, but can otherwise be filled in with just about anything (including just a space). For displaying images that end in something other than .png, .jpg, .jpeg, .gif (like your Roll20 Image Library URLs), you can append a fragment identifier that does end in one of those: [ ](<a href="http://some.img.server.com/some/url?img=1dakjfaslkdfjk" rel="nofollow">http://some.img.server.com/some/url?img=1dakjfaslkdfjk</a> #.png ) The Roll20 chat tokenizer/parser uses the ending of a URL to determine if it will display it as an image. Adding the fragment identifier tells it that the URL is actually an image, even though it doesn't look like one. The format you choose doesn't have to match what the actual image format is, as the browser will display it correctly based on the image data. ( Pro Tip: This allows you to display images in formats that aren't actually detected by the tokenizer/parser, such as SVGs: [ ](<a href="http://foo.bar.com/baz/qux.svg" rel="nofollow">http://foo.bar.com/baz/qux.svg</a> #.png ) )
1550175394
Roll20 Dev Team
Pro
Marketplace Creator
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .