PDA

View Full Version : Add an Image to an Item



redba
July 12th, 2022, 20:46
Hi guys,
I want to share handouts as object to character inventory so I think (like in 5e) to create a parcel and to add an Item where I can add a link to the handout image but I notice that is not possible to add the link in an item entry except for section called Keeper that is obviously not visible to player..
Someone know a workaround to suggest??
(I know I can share the image but I woulf prefer to manage all with items).

Thank you..

sedgetone
July 12th, 2022, 21:44
Not sure I completely understand what you’re trying to accomplish. Maybe you could post some pictures from the D&D ruleset to help explain? You can use parcels to give items to players. If you mean give an individual player an image, then you drag it to the connected player rather than use the standard share which will allow all connected players to see it.

Trenloe
July 12th, 2022, 23:58
As you mention, links to images can only be added to the Keeper section, as that is a FG formatted text field. The other item data fields are plan text, so you can't add a link to those.

I've thrown a quick extension together (attached) that adds a "Misc. and Links" formatted text field to the bottom of the item window. Put the "CoC 7e Item Links.ext" file in your <FG app data>\extensions directory and load up a CoC 7e campaign - enable the extension called "Feature: Coc 7e Item Links" and you'll see the extra fields at the bottom of the item record when you edit it. This field will be shown to the players even if the item is unidentified.

As the CoC 7e ruleset code isn't accessible I've made some guesses when creating this - I've done limited testing and it seems to work OK.

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

redba
July 13th, 2022, 06:47
Thank you @sedgetone and @Trenloe but the last one "hit the mark"..

@Trenloe just made a fast checking (it seems it is all right) and I can only tell you thank you.. For me this ext is a game helper envaluable .... I normally use items with images and accurate descriptions or story to get info to player so they can "store" them as inventory items..

As always this community is a Top Value for this VTT!!!

Thank you guys..

sedgetone
July 13th, 2022, 10:36
@Trenloe could you add that to Forge please? Never come across a need to do this but it seems like a really good idea.

Trenloe
July 19th, 2022, 03:11
@Trenloe could you add that to Forge please? Never come across a need to do this but it seems like a really good idea.
I've asked the ruleset developer if they will consider adding it direct to the ruleset.

redba
July 19th, 2022, 06:48
Ohhh yes well done @Trenloe..