Html 图片未出现在 Google Chrome 中

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/18600182/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 12:59:59  来源:igfitidea点击:

Images not appearing in Google Chrome

htmlimagegoogle-chromenumbers

提问by M.Sidim

I have an image (with a number in the image name - it's called ad1.jpg). Anyhow, it loads fine on any major browser I tested, yet it never seems to load on Google Chrome for some reason. I saw it once today, but aside from that, it's the old image title that appears instead of the image.

我有一个图像(图像名称中有一个数字 - 它称为 ad1.jpg)。无论如何,它在我测试过的任何主要浏览器上都可以正常加载,但由于某种原因,它似乎从未在 Google Chrome 上加载过。我今天看到了一次,但除此之外,出现的是旧图像标题而不是图像。

I am 150% sure that the problem is that Google Chrome is not properly reading the image name because of the number. Is there an actual problem with using number in image names using HTML5 standards? If not, does Chrome actually have a problem reading numbers in image names?

我 150% 确定问题在于谷歌浏览器由于数字而没有正确读取图像名称。使用 HTML5 标准在图像名称中使用数字是否存在实际问题?如果没有,Chrome 在读取图像名称中的数字时是否真的有问题?

回答by Adam MacDonald

I had a similar problem, it was because of an 'Ad Blocker' installed on my browser. It read the word 'ad' and blocked it. Is it possible that is the problem?

我遇到了类似的问题,这是因为我的浏览器上安装了“广告拦截器”。它读取了“广告”这个词并阻止了它。这可能是问题所在吗?

回答by Nejc Galof

If you refresh the page several times work? Clear cookies and cache and try again. Maybe this is problem.

如果多次刷新页面有效吗?清除 cookie 和缓存,然后重试。也许这是问题。