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

Image URL persistence/availability for other users - within script

1617720578
David M.
Pro
API Scripter
Hey guys, I'm making an update to a public script to have some additional graphical chat output with an image as background. Adding a background-image to a &lt;div&gt; works under my account, but I have a couple rookie questions: Will this image URL be accessible to others using the script? URL is like "<a href="https://s3.amazonaws.com/files.d20.io" rel="nofollow">https://s3.amazonaws.com/files.d20.io</a>...." so I'm thinking others can get this from the amazon server. Just wanted to verify. If I ever delete the image from my user library, I'm assuming this will break the URL for other users?
1617721010
The Aaron
Forum Champion
API Scripter
Correct on both points. I have in the past created fake users to mule graphics for a script.&nbsp; If your graphics are only going in chat, they can be hosted just about anywhere.
1617721751
David M.
Pro
API Scripter
Great, thanks Aaron! Good idea with the fake user. The image is pretty simple - some concentric circles with a radial gradient background and some additional features. I could probably draw it close enough with div styles and inline css which I imagine would be "safer", though it would probably take me a while to figure out since I have limited experience with that stuff. Good to know I have options! :)