module

Clipboard Image

Endorsements
0
Installs
0.79%
Comments
0
Latest version0.1.6
Minimum Core9.236
Compatible Core9
Last updated4 months ago
Created7 months ago
Authors
Languages
Systems All systems
Project source Project URL
Changelog Changelog URL

Allows copy-pasting images directly into Foundry VTT Tiles Layer.

Created by: JeansenVaars - Invite me a coffee if you like this module :D

ko-fi

example

Usage

  1. Copy an Image you like from any source (internet, file or a screenshot)
  2. Go to Foundry, focus on the Canvas and Press CTRL+V
  3. If an Image is found in your Clipboard, it will paste the image under your mouse and switch you to the Tiles layer.

Browser Support

Firefox Won't work by default. Version 90+ Disabled Clipboard API paste function. It won't work there unless you enable dom.events.asyncClipboard.read and dom.events.testing.asyncClipboard in about:config or use a Chromium based browser instead.

Functionalities

  1. Images uploaded to a folder called pasted_images by default. This can be configured per world in the settings. If you would like for example to store pasted images within your specific world, then you can set worlds/<my-world>/pasted_images
  2. If an image is larger than Canvas dimensions, then the Tile (not image) will be pasted as 1/3 the size of the canvas, while holding image proportions.
  3. Use CAPS LOCK to toggle between hidden or visible paste mode
  4. Faster when using small images, keep it reasonable! (large images are not an issue but rather avoid problems with slow networks and bad internet)
  5. If an object is already copied from Foundry, the paste will give priority to that object ONCE

Recommended With

Minimal UI and Super Select

Known Issues

If you are using Chat Images module, it may happen that pasting an image on the chat, if the chat panel is located somewhere on top of the scene canvas, it might paste the image also on the scene. I could not yet find a solution for this, but the circumstances are rare enough, it should not be an issue on a regula basis. This is due Chat Image disabling the focus on the chat, when pasting, making me think that the mouse is prioritized on the scene instead of the chat.

Appreciations

  • @theripper93 for proposing a much better way of achieving this. Without his help this module would have struggled!
  • @vttom for an amazing helpful attitude to get this module working properly in The Forge

By JeansenVaars

JVLogo

ko-fi

Check out my other modules!

  • Minimal UI
  • Scene Preview
  • Super Select

Appreciations

  • Thanks to the FoundryVTT Discord community for the amazing issue reports and feedback.

License

MIT License

Powered By

JetBrains

Thanks to JetBrains I can work on this project using WebStorm.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x