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

Copy marketplace image to library

1496244633
Ulti
Pro
Sheet Author
API Scripter
I tried copying some marketplace token into my library (for those who know about API, this is obviously to be able to actually use the image in a script). But, even though copied to my library, when I inspect the web page, I still get a marketplace address (of the form&nbsp;<a href="https://s3.amazonaws.com/files.d20.io/marketplace/.../thumb.png" rel="nofollow">https://s3.amazonaws.com/files.d20.io/marketplace/.../thumb.png</a>?..). I seem to remember that I already did the copying for other tokens and got 'image' instead of 'marketplace' in the address. But now I'm at a loss what to do to access that image from my scripts. Any ideas?
1496246152

Edited 1496246202
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You need to download the asset to your computer and then upload it to your library. I'm not aware of a way to directly copy it. Whether an asset can be downloaded or not is up to the artist/creator and will be noted on the marketplace page for the asset/pack.
1496251430
Ulti
Pro
Sheet Author
API Scripter
So if it cannot be downloaded, then I just cannot use it in my scripts???
1496253918
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Unfortunately, yes.
1496260992
Ulti
Pro
Sheet Author
API Scripter
I must say I'm quite disappointed. I perfectly understand that authors prefer that images cannot be downloaded, but I really don't understand the restrictions within Roll20.
1496261343

Edited 1496261365
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The API is able to pull images from any library, so opening it to the marketplace (as its implementation currently stands) would allow anyone to access a marketplace image without paying for it. Which image set are you trying to use?
1496299428
Ulti
Pro
Sheet Author
API Scripter
It is a token of the&nbsp;Max Attack 3 - Monsters III. So this is a pro set. I "have access to this set in Roll20 as a benefit of my subscription", but I would have to pay 5$ more to be able to use it in my scripts, then.
1496299830
Ulti
Pro
Sheet Author
API Scripter
Scott C. said: The API is able to pull images from any library, so opening it to the marketplace (as its implementation currently stands) would allow anyone to access a marketplace image without paying for it. Does that mean that if I share a script containing the address of an image in my Roll20 library, then I share the image too?
1496322335
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Yep