cswendrowski / FoundryVTT-Drag-Upload

Adds the ability to drag an image onto Foundry to automatically create Tokens and Tiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drag Upload (Get Over Here!)

WARNING - Drag Upload will NOT work if you run Foundry in Admin mode on Windows due to a Windows security feature!

Adds the ability to drag files onto the Foundry canvas to automatically create Tokens, Tiles, Journal Pins, and Ambient Audio

If the file is an audio file (.mp3, .mp4, .wav, .flac), it will be created as an Ambient Audio with easing.

Otherwise, it will be treated as an Image and created based on the current active layer:

  • Token: 1x1 Actor with Token
  • Tile: Tile of the same size as the image
  • Notes: Journal with a corresponding Journal Pin
  • Other: Same as Token

Changelog

v1.1.0

  • #1 - Added full support for all audio types (except WEBM, because that's almost always an animated image)
  • #2 - When WEBM is dragged, only set the Token and not the Actor

v1.2.0

Thanks to Itamarcu for this wonderful addition! You can now drag upload images straight from a webbrowser. This is not supported in Firefox

v1.3.0

Thanks to Itamarcu, you can now create Actorless tokens!

v1.4.1

We now integrate with the upcoming Isometric module!

About

Adds the ability to drag an image onto Foundry to automatically create Tokens and Tiles

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%