Skip to content

LewisIsWorking/Picture-popup

 
 

Repository files navigation

Forge Installs Latest Release Download Count

Token HUD Artwork Button

This module adds a button to the token or tile HUD that opens the target actor's artwork, or their token artwork on right-click. Hold the shift key to automatically show to everyone.

It also adds shortcut keybindings:

  • Shift+Z: Show Tile/Token to everyone.
  • Shift+X: Show token Actor's artwork to everyone.
  • Add an Alt to either to show only yourself.
  • Only the GM can show to everyone.

Additionally, it is now possible to show Video tiles, or any other .mp4 or .webm video using the new class MultiMediaPopout which has the same basic interface as ImagePopout (buit doens't support things like editing the image since this is for display purposes). This class can be used in a macro like so:

new MultiMediaPopout("path/to/video.webm", { shareable: true })
	.render(true)
	.shareImage();

Token buttons suggested by: Apostol Apostolov on League of Extraordinary FoundryVTT Developers

Tile buttons and keybindings suggested by: akeran#7102 (Discord)

About

A Foundry VTT module that adds a button to the token HUD that opens the target actor's artwork.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 97.7%
  • HTML 2.3%