IE6 - 无法加载普通的JPG [英] IE6 - can't load a normal JPG

查看:148
本文介绍了IE6 - 无法加载普通的JPG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在Internet Explorer 6.0中加载此普通.jpg文件。我收到错误,说图片无法加载。在任何其他浏览器中尝试它,它工作正常。怎么了? .jpg文件只是Web服务器上的正常图片。我甚至可以创建一个简单的网页:

Try loading this normal .jpg file in Internet Explorer 6.0. I get an error saying the picture won't load. Try it in any other browser and it works fine. What's wrong? The .jpg file is just a normal picture sitting on the web server. I can even create a simple web page:

<a href="http://www.zodiacwheels.com/images/wheels/blackout_thumb.jpg">blah</a>

并使用右键单击+保存目标,与IE6一样将其保存到我的桌面,它是有效的JPG文件。但是,它不会在浏览器中加载!

and use right click + save target as with IE6 to save it to my desktop, and it's a valid JPG file. However, it won't load in the browser!

为什么?!

我甚至尝试检查标头响应和MIME类型,它看起来很好:

I even tried checking the header response and MIME type and it looks fine:

andy@debian:~$ telnet www.zodiacwheels.com 80
Trying 72.167.174.247...
Connected to zodiacwheels.com.
Escape character is '^]'.
HEAD /images/wheels/blackout_thumb.jpg HTTP/1.1
Host: www.zodiacwheels.com

HTTP/1.1 200 OK
Date: Wed, 20 Aug 2008 06:19:04 GMT
Server: Apache
Last-Modified: Wed, 20 Aug 2008 00:29:36 GMT
ETag: "1387402-914ac-48ab6570"
Accept-Ranges: bytes
Content-Length: 595116
Content-Type: image/jpeg

该网站需要能够使用IE6,为什么它不会加载一个简单的.jpg文件?

The site needs to be able to work with IE6, how come it won't load a simple .jpg file?

推荐答案

您上传的JPG是在 CMYK ,IE和Firefox版本3之前无法读取的这些。使用Photoshop打开它(或任何类似的,我相信GIMP也会起作用)并在 RGB

The JPG you uploaded is in CMYK, IE and Firefox versions before 3 can't read these. Open it using Photoshop (or anything similar, I'm sure GIMP would work too) and resave it in RGB.

编辑:进一步谷歌搜索让我怀疑CMYK并不是jpeg标准的一部分,但可以在那里。这就是为什么某些软件不认为文件有效的原因。然而它在Photoshop CS3中打开很好,并显示cmyk色彩空间。

edit: Further Googling makes me suspect that CMYK isn't really a part of the jpeg standard, but can be shoehorned in there. That's why some software does not consider the file valid. It does however open just fine in Photoshop CS3, and shows a cmyk colorspace.

这篇关于IE6 - 无法加载普通的JPG的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆