This module adds support for images and partially video in the chat: copy-paste, drag & drop, and links are automatically converted to images.
This is a upgrade of the module Chat Images
It's always easiest to install modules from the in game add-on browser.
To install this module manually:
- Inside the Foundry "Configuration and Setup" screen, click "Add-on Modules"
- Click "Install Module"
- In the "Manifest URL" field, paste the following url:
https://raw.githubusercontent.com/p4535992/foundryvtt-chat-media/master/src/module.json - Click 'Install' and wait for installation to complete
- Don't forget to enable the module in game using the "Manage Module" button
If you want to put a image on the chat just put
cimage <URL TO IMAGE>
cvideo <URL TO VIDEO>
Upload New Files permission, if a user doesn't have it, they will get an warning every time they try to upload an image
npm installdev will let you develop you own code with hot reloading on the browser
npm run devbuild will build and set up a symlink between dist and your dataPath.
npm run buildbuild:watch will build and watch for changes, rebuilding automatically.
npm run build:watchprettier-format launch the prettier plugin based on the configuration here
npm run-script prettier-formatlint launch the eslint process based on the configuration here
npm run-script lintlint:fix launch the eslint process with the fix argument
npm run-script lint:fixbuild:json unpack LevelDB pack on src/packs to the json db sources in src/packs/_sourcevery useful for backup your items and manually fix some hard issue with some text editor
npm run-script build:jsonbuild:clean clean packs json sources in src/packs/_source. NOTE: usually this command is launched after the command build:json and after make some modifications on the json source files with some text editor, but before the build:db
npm run-script build:cleanbuild:db packs the json db sources in src/packs/_source to LevelDB pack on src/packs with the new jsons. NOTE: usually this command is launched after the command build:json and after make some modifications on the json source files with some text editor
npm run-script build:dbAny issues, bugs, or feature requests are always welcome to be reported directly to the Issue Tracker, or using the Bug Reporter Module.
This package is under an MIT and the Foundry Virtual Tabletop Limited License Agreement for module development.
- bmarian for the module Chat Images
Bootstrapped with League of Extraordinary FoundryVTT Developers foundry-vtt-types.


