Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ibm mobilefirst src属性中的外部链接在emulator中不起作用_Ibm Mobilefirst - Fatal编程技术网

Ibm mobilefirst src属性中的外部链接在emulator中不起作用

Ibm mobilefirst src属性中的外部链接在emulator中不起作用,ibm-mobilefirst,Ibm Mobilefirst,我想显示一个源为外部链接的图像。这在浏览器中工作,但在模拟器中不工作 <div id="EmpDisplayPic" style="float: left;"> <img id="empPic" alt="" src="http://183.82.99.100:9080/emp/GetPhoto?empId=7" width="90px" height="100px" style="border-radius: 12px;"> </div> 我在安

我想显示一个源为外部链接的图像。这在浏览器中工作,但在模拟器中不工作

<div id="EmpDisplayPic" style="float: left;">
    <img id="empPic" alt="" src="http://183.82.99.100:9080/emp/GetPhoto?empId=7"  width="90px" height="100px" style="border-radius: 12px;">
</div>

我在安卓设备上测试了一个简单的img标签,图像显示很好

<img src="http://183.82.99.100:9080/emp/GetPhoto?empId=7"> 

可能是您的模拟器未连接到Internet。
代码本身很好