Public issue tracking and documentation for Foundry Virtual Tabletop - software connecting RPG gamers in a shared multiplayer environment with an intuitive interface and powerful API.
Add support for RollTable entities to have a primary image icon associated with the table overall which is displayed in the Tables sidebar and in any RollTable type compendium packs which are created. #3267
In addition, even if you add an 'img' node directly to the Compendium DB file for a RollTable, getIndex() is not returning that img for RollTables.
Perhaps, since there is no way in the UI to add an image for RollTables, they could get the grey d20 image added in the DB when created, and then adjust the getIndex loaded on the node side to grab that image. Then, compendium creators could override that image by editing the DB directly.
Originally in GitLab by @timlwhite
In order to submit an effective bug report, please include the following information along with your issue description.
Environment Details
Issue Description
RollTables in Compendiums always show the default token image in the Compendium browser:
This logic in
getData
for the compendium is defaulting to the default token image, rather than the grey d20 that is the default RollTable icon:In addition, even if you add an 'img' node directly to the Compendium DB file for a RollTable, getIndex() is not returning that img for RollTables.
Perhaps, since there is no way in the UI to add an image for RollTables, they could get the grey d20 image added in the DB when created, and then adjust the getIndex loaded on the node side to grab that image. Then, compendium creators could override that image by editing the DB directly.