mpirnat / dndme

Tools for DMing Dungeons & Dragons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a command to show images from a content package

mpirnat opened this issue · comments

It would be nice to have a command that can show an image in either the player view or in a new web browser window so that the DM doesn't have to leave the tool to show an image to players.

This command should pop the image url into the game state json for the player view if the player view is running (much like the existing "message" command) and the player view should then show the image when an image url is present in the game state json.

If the player view is not running, this command should try to shell out to open the file in the DM's default browser.

A reasonable first draft of this now exists. Yay!