thos Posted March 28, 2006 Posted March 28, 2006 The first few lines of the 'code' is the actual text of the jpeg - so it's presenting it as plain text instead of an actual image/jpef Quote
adhawkins Posted March 28, 2006 Posted March 28, 2006 Hmmm, that would imply it's not seeing the header, or I'm sending the wrong one. Is there some way in Firefox you can get it to display the headers of the page? I'll look into it. Andy Quote
thos Posted March 28, 2006 Posted March 28, 2006 Page Info after displaying the image says Type is "text/html". Quote
thos Posted March 28, 2006 Posted March 28, 2006 A straight GET (avoiding brower) header output: HTTP/1.0 200 OK Date: Tue, 28 Mar 2006 10:327 GMT Server: Apache/2.0.40 (Red Hat Linux) Accept-Ranges: bytes X-Powered-By: PHP/4.3.10 Last-Modified: Fri, 10 Mar 2006 17:20:38 GMT Content type: image/pjpeg Content-Type: text/html Quote
adhawkins Posted March 28, 2006 Posted March 28, 2006 Content type: image/pjpeg Content-Type: text/html Aha. Looks like there's two headers (or I'm sending the wrong one). Andy Quote
thos Posted March 28, 2006 Posted March 28, 2006 Are you doing any pa**ing on those images ? Or just plain file-serving ? Quote
adhawkins Posted March 28, 2006 Posted March 28, 2006 That better? Please try it on an image you haven't tried it on before (in case it caches the 'incorrect' version). Andy Quote
thos Posted March 28, 2006 Posted March 28, 2006 Looks to be getting a 404 now .... but not sure if directly accessing the images is triggering the access (ie; only reachable when linked/access from wscc). Hard to tell with the caching on top. Quote
thos Posted March 28, 2006 Posted March 28, 2006 The initial 'view' seems to work now, whereas previously it didnt - only the refresh does, so I suspect it's fixed. Quote
adhawkins Posted March 28, 2006 Posted March 28, 2006 Yeah, the 404 is deliberate. God knows how that has ever worked with the wrong content type! Thanks for the help in spotting it Andy Quote
thos Posted March 28, 2006 Posted March 28, 2006 God knows how that has ever worked with the wrong content type! It's down to MSIE just doing things the wrong way, there's a few articles around of other mime types it just changes itself. Quote
adhawkins Posted March 28, 2006 Posted March 28, 2006 It's down to MSIE just doing things the wrong way, there's a few articles around of other mime types it just changes itself. But even Firefox displayed the avatars properly when they were on the boardroom. Perhaps it's because it's in an image tag, it tries to match it to the image formats? Andy Quote
samcooke Posted March 28, 2006 Author Posted March 28, 2006 @Adh I've just tried IE and all your images are little crossyboxes same as in firefox... Is it me? I am using Norton but can't see an option to fix it... Quote
adhawkins Posted March 28, 2006 Posted March 28, 2006 Read the thread in my sig for firewall info. Andy Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.