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 .
×

Map or Asset Name?

Thanks in advance for taking the time out to read and possibly assist with this.  I have uploaded many maps into my game.  However, i just started to name them properly and earlier maps were just tossed in.  I am looking for a way (if possible) to identify what the object name is.  Scrolling through my art library takes forever just due to the sheer number of assets.  I figure if i could identify it will be easier to find and remove or rename. Thanks, AS
1791899925
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi 8BDM! I have long asked for API access to the art library metadata. There's a whole lot of things you could do with that capability, including what you ask for. AFAIK, there's no way to discern that connection.
Keith, as always, thank you for your help here.  I hope you get the access you need so you can continue to contribute to our amazing home games!
1791924449

Edited 1791924547
AmadeusVF
Pro
API Scripter
Well, there's actually something we could do, The idea is to build a searchable asset library using Roll20 Handouts as a database. The only downside is that we'd have to register the assets manually, but the process could be pretty simple. For example, you could drag an image from your Art Library onto the map as a token, select it, and use a command like: !art import ?{Name|} ?{Tags|} then the script would automatically capture the image URL and save it in a Handout , along with its name and tags (maybe size as well to auto apply the size when we place it). Once you've registered your assets, you could use commands like: - !art list — Browse all your saved assets, organized by category or type. - !art search dragon — Find assets by name. - !art search tag-maps — Find all assets with a specific tag, such as maps. Ideally, the script would display the results with image previews and clickable buttons, making it easy to find and use assets without digging through the entire Roll20 Art Library. to place it in the map we just need to place any image and then click on the asset in the database and set the token's  imgsrc with the desire asset and auto resize if available. Keith is really good at creating scripts that use Handouts to display and organize information, so I think he could build a pretty nice interface for this. I could also give it a try, although my initial version would probably use chat-based menus and previews. Maybe I'll experiment with it in a few days, or perhaps Keith could take a look if he has the time. What do you think, Keith ? As DMs, we accumulate hundreds or even thousands of assets over time, and finding the exact image we need can become a real headache when you forget the name. We waste so much time searching for assets we already own!
+
1792023822

Edited 1792023915
Andrew R.
Pro
Sheet Author
I suspect that AmadeusVF’s idea could be prototyped using ScriptCards’ Storage facility quickly.