Please let me know, maybe I can save some work.
I have also noticed a strange behaviour with browse_rsc(). If I just supply the filename, I get an error msg. If I have a image variable, it works fine.
mob proc Test() var/img = 'image.bmp' src << browse_rsc(img,"image2.bmp") // Works src << browse_rsc("image3.bmp") // Error!Shouldn't the second line be valid too? I read a post a while ago that it was. Posted by Tom I think.
/Andreas
</<></<>
You are correct. We ought to automatically convert those .dmi files to .bmp format for display in the browser at least. That's easy enough to do, but it might involve some subtle problems. Hopefully a bmp file with a .dmi filename will still be readable by the browser. I'll put it on the List.
Shouldn't the second line be valid too? I read a post a while ago that it was. Posted by Tom I think.
browse_rsc() expects a file for the first argument, so try:
browse_rsc(file("image3.bmp"))