bmarian / chat-images

A module for Foundry VTT that adds image support for the chat.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image description

mrcomac opened this issue · comments

An idea to improve the module is after a link if I put a "|" could be interpreted as a description for the image. for example, when I share an NPC image could be good to put his name as a description like http://link_image.com/image.jpg|Arabeth. the results:
| image |
| image |
| image |
Arabeth

I think we are getting in the realm of markdown here. And it's something I would probably not implement. But the Foundry chat already supports html so you can achieve this by just writing:

<img src="[[URL]]" />
Text

image

And if you want the same functionality as other images uploaded with my module

<div class="chat-images-container">
<img src="[[URL]]" />
</div>
Text

image