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

Tying to insert a picture in this macro

1514754950
GiGGles
Plus
Translator
<a href="https://prnt.sc/humcty" rel="nofollow">https://prnt.sc/humcty</a>
1514755115
GiGGles
Plus
Translator
Howdy all im trying to insert a small picture in this macro on the picture to the right you see the outcome ive been messing around with it and got it to roll a d4 (the macro is to the left).&nbsp; Is there an image macro i could put in there or someway to put a picture in it ??
1514756182

Edited 1514756351
vÍnce
Pro
Sheet Author
you can try inserting an image using "[image](URL)"&nbsp; The "image" text is just used for syntax and is only seen when hovering over the image. example; {{[[1d4]]=sputters and fizzles and out comes the following effect [magic]( <a href="https://media-elerium.cursecdn.com/avatars/thumbnails/14/474/30/30/635596760578719019.png" rel="nofollow">https://media-elerium.cursecdn.com/avatars/thumbnails/14/474/30/30/635596760578719019.png</a>) }}
1514758478
GiGGles
Plus
Translator
So putting it at the end would work instead of where it says "1d4" ? and how/where do we find the images. ?
1514759147

Edited 1514759573
vÍnce
Pro
Sheet Author
The ability to post images to chat is a roll20 feature.&nbsp; You can try inserting the image anywhere you like in your macro. The formatting/layout will be determined by the sheet's roll template.&nbsp; &nbsp;Here's an example with the image inserted on the left of the " = " using roll20's default template. &{template:default}{{ [magic](<a href="https://media-elerium.cursecdn.com/avatars/thumbnails/14/474/30/30/635596760578719019.png" rel="nofollow">https://media-elerium.cursecdn.com/avatars/thumbnails/14/474/30/30/635596760578719019.png</a>) [[1d4]]=sputters and fizzles and out comes the following effect }} You'll need to experiment, but I would suggest keeping inserted images under 100px.&nbsp; Larger images can mess up the layout.&nbsp; &nbsp;You can grab image url's within a browser by right-click "Copy image address".&nbsp; I did an image search with google for my example above and restricted the search to small clipart images.&nbsp;
1514760045
GiGGles
Plus
Translator
Awesome THanks.
1514771320
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I regularly use this technique for my NPC portrait gallery macro . Roll20 does a pretty good job of downsizing images on the fly, at least in the browsers I've tried.