Html 在IE中加载内联图像,但不在Chrome或Firefox中加载
在chrome/firefox中,我得到 我得到了一份工作 代码是Html 在IE中加载内联图像,但不在Chrome或Firefox中加载,html,image-load,Html,Image Load,在chrome/firefox中,我得到 我得到了一份工作 代码是 <li><a target="_blank" href="file:///M:\CarpentariaShire\MapInfo_Tables\Vector_Data\Infrastructure\Transport\Roads\Road_Features\Signs\Signs_2017_005\{{feature.Image_Name.value}}"> <img src="M:\Carp
<li><a target="_blank" href="file:///M:\CarpentariaShire\MapInfo_Tables\Vector_Data\Infrastructure\Transport\Roads\Road_Features\Signs\Signs_2017_005\{{feature.Image_Name.value}}"> <img src="M:\CarpentariaShire\MapInfo_Tables\Vector_Data\Infrastructure\Transport\Roads\Road_Features\Signs\Signs_2017_005\{{feature.Image_Name.value}}" alt="{{feature.Image_Name.value}}" style="max-width: 100%; height: auto;" </a> </li>
但我没有运行广告拦截器
如何才能像IE中那样在chrome/firefox中加载图像?出于安全原因,chrome和firefox中不允许本地文件访问
您需要使用虚拟目录或将图像文件夹移动到web目录中。IE允许,其他不允许。