mob/monsters
monster
level=1
picture="/asdf.jpg"
var/monsterview = {"
<html>
<head><title>Monster</title></head>
<body bgcolor=#000000>
<img src=[M.picture]>//image
<a href=[M.picture]>[M.picture]</a>//direct image link
</body>
</html>
"}
usr<<output(monsterview,"monster.browser")
Problem description:
The image in the code does not display in the browser. The image is in the same directory as the rsc. I tried linking to the image directly, which revealed that the path in the link leads to: file:///C:/asdf.jpg
How can it be made to reference the image file in the game folder?
Might not be the best way to do it but it works