Symbolic Dice shows in button but not chat?

Hi! Complete noob to HTML, but I checked other questions and didn’t find a similar problem.

I’m making a completely bare-bones test module for trying Symbolic Dice and I’ve hit a point where the symbolic dice will display in the button or in a window but not in the chat log. I just get the text at the start of the result and then a broken image icon instead of the die image.

The code is here, and as stated, works to display the roll in a window or button but not the chat log (and yes the display HTML option is on)

D6 roll: <img src=”Saxon_Die\_$result1$.png” width=”16” height=”16”>

At this point I can only assume I’m missing something really stupid and obvious, so I beg your help!

Do you have global settings with it turned off?

Open the Module in the Editor and then go to Global Options. The 5th Item should be Enable HTML.

Why do you have a backslash \ in the file name? Is it because the file resides in a “sub-directory” of the images “directory” in the ZIP file?

Note, ZIP files do not really have any internal structure, and the concept of directories are really a convention rather than inherent to the ZIP format. Also, typically, ZIP software will use a Un*x like directory separator - a slash /.

So try these things:

  • Replace the \ with a /
  • Remove the \ in your reportFormat string
  • Move the image to the images “directory”.

Yours,
Christian