ID:266352
 
I have seen pictures in the browser before! I know I have. But, when I try to browse() a file with pictures in it, the pictures do not load. They are all BMPs. This can certianly be reproduced, if it is a bug. I'm guessing that it is not, however, and so I'm asking for help. Note: viewed in my browser as an HTML file, the pictures load just fine. Thanks.

-Lord of Water
You have to browse the rsc to find the pictures first:

mob/verb/Show_me()
browse_rsc('something.bmp')
browse("<img src = something.bmp>")
In response to Nadrew
Okay, here I have this:

browse_rsc('TextMUD.bmp')
browse_rsc('Tab-inventory.bmp')
src << browse('CharSheet.htm')

I get 4 warnings: a unused lable and statement has no effect warning for each of the browse_rsc lines. What am I doing wrong?
In response to Lord of Water
Lord of Water wrote:
Okay, here I have this:
src<<browse_rsc("TextMUD.bmp")
src<<browse_rsc("Tab-inventory.bmp")
src << browse('CharSheet.htm')



Sorry, long night, long sleep still tired.
In response to Lord of Water
Lord of Water wrote:
Okay, here I have this:

browse_rsc('TextMUD.bmp')
browse_rsc('Tab-inventory.bmp')
src << browse('CharSheet.htm')

I get 4 warnings: a unused lable and statement has no effect warning for each of the browse_rsc lines. What am I doing wrong?

Read the doc...you need to provide two arguments.
In response to Deadron
Actually, I don't need to. My problem was that instead of
browse_rsc('whatever.bmp')
I needed
src << browse_rsc('whatever.bmp')

Thanks anyway, Deadron.