代码之家  ›  专栏  ›  技术社区  ›  curious1

Chrome不显示损坏的图像

  •  0
  • curious1  · 技术社区  · 8 年前

    这个html脚本显示了一个虚构的页面和图像

    This line is before the broken image.
    <img src="http://www.doesnotexistabc.com/missing.jpg" >
    This line is after the broken image.
    

    https://jsfiddle.net/mxgavahr/1/

    这是用户可以配置的吗?或者我的浏览器出了问题?

    我正在使用Windows机器。我需要解决这个问题,因为我想知道一个图像在开发中丢失。

    3 回复  |  直到 8 年前
        1
  •  1
  •   vl.lapikov    8 年前
        2
  •  1
  •   alanforts    8 年前

    它对我有效,也许重置所有chrome设置?如果不是这样,请使用ALT text

        3
  •  1
  •   Dumarest    8 年前

    <img width="500" style="border: 1px solid #ccc; padding: 10px" src="http://www.doesnotexistabc.com/missing.jpg">
    <img width="500" style="border: 1px solid #ccc; padding: 10px" src="http://www.doesnotexistabc.com/missing.jpg">
    <img width="500" style="border: 1px solid #ccc; padding: 10px" src="http://www.doesnotexistabc.com/missing.jpg">