I've been told that your icon files are already in the resource cache, so you do not need to use browse_rsc to display them.
My question is how do you use the < IMG > tag to display a specific icon? I do not want to /icon macro, because I am defining the HTML in a const var. I simply want to reference the icon file, and the icon state and I need to know the exact syntax to do this.
For a .dmi file with only one icon state, just use
in your html.
If you want one state from a file, you need to create an /icon object with that state, browse_rsc() it (with a file name; that will create a file in the resource cache with just that state that the client can access) and display it as above.