Angular App图像无法在iPhone上显示

时间:2016-09-14 14:37:45

标签: ios iphone angularjs

我有一个非常奇怪的图片加载问题......

enter image description here

我正在努力调试这个,因为它只出现在iPhone上(使用Safari和放大器测试),但使用模拟器(Chrome)工作得非常好。

我的图像直接从图像文件夹加载(示例)没有角度渲染或动态src创建:

<div class="text-center">
    <a href="https://www.chess.com/" target="_blank">
        <img src="images/assets/chess.com.jpg" alt="" width="200px" height="80px">
    </a>
</div>

该网站可在此处找到:http://fantasychess.online/#/

这不是垃圾邮件的尝试,我只是在努力找出问题。非常感谢任何帮助,我已经搜索过类似的问题,但没有找到相关的问题。

1 个答案:

答案 0 :(得分:0)

而不是src使用Angular#ngSource

<img ng-src="images/assets/chess.com.jpg" alt="" width="200px" height="80px">