当前位置: 动力学知识库 > 问答 > 编程问答 >

html - href BITMAP from DLL into Webpage

问题描述:

I would like to embed 5512.bmp from C:\Program Files (x86)\Common Files\microsoft shared\OFFICE14\MSORES.DLL into a HTML document.

I'm expecting to use the res protocol: - however the following doesn't work

<img src="res://C:\Program Files (x86)\Common Files\microsoft shared\OFFICE14\MSORES.DLL/5512.bmp" />

Note: I have tried replacing all the symbols within the file path to their respective %## codes.

网友答案:

You can't do that; the res:// URL scheme, like the file:// URL scheme and various other "unsafe" schemes, cannot be referenced from the Internet zone in MSIE.

Upload the image to your web site and link to it normally.

分享给朋友:
您可能感兴趣的文章:
随机阅读: