在chrome / firefox中我得到了
在IE中,我得到了
代码是
<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>
其中 {{feature.Image_Name.value}} 从表中获取图像名称
这是在MapInfo,Spectrum Spatial Analyst(SSA)中作为信息模板运行。
我查看了Images Not Appearing in Chrome and Firefox和Images not loading in firefox,但我没有运行广告拦截器。
如何在IE中加载chrome / firefox中的图像?
答案 0 :(得分:1)
出于安全原因,Chrome和Firefox中不允许本地文件访问。
您需要使用虚拟目录或将图像文件夹移动到您的网络目录中。