简体   繁体   English

图片未显示并且检查元素显示尺寸为1x1像素

[英]Image not showing and inspect element shows size 1x1 pixels

I have two similar pages made of images but on one of these pages the pictures aren't loading and when im inspecting the element it shows blank white with the size 1x1. 我有两个由图像组成的相似页面,但是其中一个页面上的图片没有加载,并且在我检查该元素时,它显示了大小为1x1的空白白色。 But if i click the image's link it's loading the image on a new tab with no problem.. 但是,如果我单击图像的链接,它将毫无问题地将图像加载到新选项卡上。

Working page 工作页面

Not working page 无法工作的页面

These pages are pretty much only HTML/CSS with a very little jQuery. 这些页面几乎只是带有很少的jQuery的HTML / CSS。 I'm not using any ad blockers.. 我没有使用任何广告拦截器。

My Code- 我的代码

<div id="content" style="text-align:center; margin-bottom:120px;">
<div id="floating-arrow"><img src="images/arrow.png" alt="meme global publishers" /></div>

    <img src="images/advertisers/1.jpg" style="width:100%; height:1024px;" />
    <img src="images/advertisers/2.jpg" style="width:100%; height:1024px;" />
    <img src="images/advertisers/3.jpg" style="width:100%; height:1024px;" />
    <img src="images/advertisers/4.jpg" style="width:100%; height:1024px;" />
    <img src="images/advertisers/5.jpg" style="width:100%; height:1024px;" />
    <img src="images/advertisers/6.jpg" style="width:100%; height:1024px;" />
    <img src="images/advertisers/7.jpg" style="width:100%; height:1024px;" />
</div>

Why is this happening? 为什么会这样呢? How can i fix this please? 我该如何解决?

This problem is caused by adblocker on Chrome here. 此问题是由Chrome上的adblocker引起的。 The error: 错误:

Failed to load resource: net::
http://meme.netsol.co.il/images/advertisers/4.jpg Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

You can fix this by renaming the filename/path. 您可以通过重命名文件名/路径来解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM