PDA

View Full Version : Show images with text



st4lk3r87
October 22nd, 2016, 17:31
Hi,
I'm not sure if this is the right place to ask this question.

I noticed that in the "Tome of Beasts" reference manual, images and texts are mixed up together ( you don't need to click the link icon to see the image ).

Is it possible to do that also in Item description ?
I would like to create a Book item with an Image without force the player to click on the image.

Thank you.

Trenloe
October 22nd, 2016, 17:39
It's currently only available within certain library screen sections - basically, the "Reference Manual" library functionality. Not possible in item descriptions, and similar formatted text fields.

Info here: https://www.fantasygrounds.com/wiki/index.php/Reference_Manuals

st4lk3r87
October 22nd, 2016, 17:42
Thank you for the answer :)

That's a bit sad. Do you think it's feasible to create an extension to make it working properly? Is it possible to change the way how text is formatted in case like this?

Trenloe
October 22nd, 2016, 17:52
Do you think it's feasible to create an extension to make it working properly? Is it possible to change the way how text is formatted in case like this?
It probably is possible, but would require replacing the single formatted text control with a few different controls - essentially redesigning the item GUI. You'll also have issues keeping compatibility with items created without the extension - as the underlying database format will change; and possible future issues with keeping data compatibility.

One possible approach is to add just a single token container to the item GUI, and then use the images (in the FG token format) to show the desired graphic.

Seems like a lot of work to save people clicking the embedded image link...

Trenloe
October 22nd, 2016, 18:02
One possible approach is to add just a single token container to the item GUI, and then use the images (in the FG token format) to show the desired graphic.
Call of Cthulhu uses this approach in the NPC "appearance" tab - there's a token field for an image and a text field for a description. For example:

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=15808