图像未在 Amp 版本上显示

Images not showing on Amp version

图像在普通页面上有效,但图像不显示 amp 版本。

这里是一个HTML图片代码,我使用WordPress并通过媒体库上传并插入:

<a href="https://www.amazon.com/Stanley-Screwdriver/dp/B0014KMDZ0/ref=as_li_ss_tl?ie=UTF8&amp;qid=1482529941&amp;sr=8-1&amp;keywords=Pocket+Screwdriver&amp;linkCode=ll1&amp;tag=rasrf1-20&amp;linkId=a7cefc1156af5144695cf921ad1241c1"><img class="aligncenter wp-image-312" src="http://mysiteexample.com/wp-content/uploads/2016/11/review-1024x768.jpg" alt="Stanley Review" width="256" height="192" /></a>

"

是否需要插入脚本或其他内容才能在 amp 上运行?

谢谢你的时间,我很感激。

使用 amp-img 而不是 img 作为您网站的 amp 版本。

<a href="#">
    <amp-img src="http://mysiteexample.com/wp-content/uploads/2016/11/review-1024x768.jpg" width="256" height="192" layout="responsive" alt="Stanley Review"></amp-img>
</a>