Closed Bug 63481 Opened 24 years ago Closed 24 years ago

JPEG Image does not display (mime type text/plain from server)

Categories

(Core :: Graphics: ImageLib, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: mark.slater, Assigned: pnunn)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT)
BuildID:    2000122020

The JPEG image of that URL sometimes displays, sometimes just comes up as 
garbled text, as if the JPEG is being shown as a text file, instead of an image 
file.

Reproducible: Sometimes
Steps to Reproduce:
1. Load URL


Actual Results:  First time it is loaded, image appears as garbled text, after 
restarting browser and reloading URL, image appears normal

Expected Results:  Image should always appear

Originally came across this bug when clicking the link from this slashdot story:
http://slashdot.org/article.pl?sid=00/12/20/235234&mode=flat
(the link is "Minesweeper-looking map")
I don't see it, WFM, Win2000, build 2000122105.
The image comes through just fine for me on Win2k build 2000122105 also.

Jake
Verified:
Platform: PC
OS: Linux 2.2.16
Mozilla Build: 2000121908 M18 Trunk Build

It never loads for me. Its always garbled text. (Maybe because it starts with a
_?) Just a guess. Very odd indeed. 
OS: Windows NT → All
Win95, 2000122004 here, I get the jpeg fine everytime, even from clicking on the
/. link
The problem lies with the server returning the wrong MIME type (text/plain), as
shown by this telnet session. Therefore marking invalid.

BTW saving this image and then loading it locally works, it's a problem to do
with the mime type the server sends.

It appears if the image is in the page it displays it correctly tho.

$ telnet news.bbc.co.uk 80
Trying 212.58.226.40...
Connected to newswww.bbc.net.uk.
Escape character is '^]'.
GET /olmedia/1075000/images/_1079916_beagle300.jpg HTTP/1.1
Host: news.bbc.co.uk
User-agent: Mozilla/5.0 (X11; U; Linux 2.2.12 i586; en-UK; m18) Gecko/20001213

HTTP/1.1 200 OK
Date: Fri, 22 Dec 2000 17:53:02 GMT
Server: Apache/1.3.12 (Unix)
Last-Modified: Wed, 20 Dec 2000 15:21:40 GMT
ETag: "378154-2aa3-3a40ce84"
Accept-Ranges: bytes
Content-Length: 10915
Connection: close
Content-Type: text/plain

JFIF``C

<etc>
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
It appears the BBC have fixed their mime types as that image now works, perhaps
the reason for this working for some people and not others could be that the BBC
probably have more than one server  and it was only one set up incorrectly.

Anyway, can someone verify this invalid?

Summary: JPEG Image does not display → JPEG Image does not display (mime type text/plain from server)
Marking verified
worksforme W2k 2000123120
worksforme Mac 2000122910
worksforme Linux 2000123106
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.