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

Image tag in roll template fails

1426146833
Lithl
Pro
Sheet Author
API Scripter
If I try to use &lt;img&gt; in a roll template, the VTT consistently passes the image through the image proxy server... then does it again . Instead of the url being <a href="http://imgsrv.roll20.net:5100/?src=my-image-url" rel="nofollow">http://imgsrv.roll20.net:5100/?src=my-image-url</a> The url becomes <a href="http://imgsrv.roll20.net:5100/?src=imgsrv.roll20.net%3A5100/%3Fsrc%3Dmy-image-url" rel="nofollow">http://imgsrv.roll20.net:5100/?src=imgsrv.roll20.net%3A5100/%3Fsrc%3Dmy-image-url</a> This fails (visiting the bad link directly results in the message "An error happened!"), while manually stripping the extra layer of redirection works fine. The problem does not occur when using, for example, the background-image property in the sheet's CSS (the image is passed through one layer of redirection in the CSS).
1426168263
Riley D.
Roll20 Team
I think this should be fixed now.