html图像不显示在ie 8中
我有以下代码html图像不显示在ie 8中,html,Html,我有以下代码 <img id="zoomImage" src="products/beddingSupplies/beddingSuppliesProtective/img/th_3.jpg" width="" height="" product="beddingSuppliesProtective3" category="beddingSuppliesProtective" /> <img id="zoomImage" src="products/beddingSupplie
<img id="zoomImage" src="products/beddingSupplies/beddingSuppliesProtective/img/th_3.jpg" width="" height="" product="beddingSuppliesProtective3" category="beddingSuppliesProtective" />
<img id="zoomImage" src="products/beddingSupplies/beddingSuppliesProtective/img/th_4.jpg" width="" height="" product="beddingSuppliesProtective4" category="beddingSuppliesProtective" />
<img id="zoomImage" src="products/beddingSupplies/beddingSuppliesProtective/img/th_2.jpg" width="" height="" product="beddingSuppliesProtective2" category="beddingSuppliesProtective" />
除最后一张图片外,上述功能在所有浏览器中都能正常工作,并且仅在ie8中。我试图重新排序的图像,但还没有显示,无论是在第一个原始的第二个第三个或最后。你能帮帮我吗。该映像存在于目录中。我还删除了width和height属性,重命名了图像,清除了缓存,还是什么都没有
谢谢可能有三个原因:
IE8支持自定义属性,因此它似乎不是特定于标记的问题。我只是在photoshop中打开图像并保存它,没有任何更改,现在正在显示。。。我不知道怎么了 谢谢你的时间 虽然这已经很旧了,但它可能有用 如果JPG图像是使用CMYK而不是RGB保存的,则可能无法显示。看起来老版本的IE(和Firefox)在这方面有问题 从您告诉我们的情况来看,最可能的问题是图像是CMYK格式的,只有IE9+支持这种格式(适用于IE浏览器)
将其转换为RGB,应该可以。我已将代码更改为以下静止状态检查图像扩展名,它可能是.jpe或.jpeg。它也在IE中工作,检查图像的路径检查我的答案问题是图像在转换为RGB后被保存为CMYK它工作了