image rendering issue

Posted by burkejam71 on Stack Overflow See other posts from Stack Overflow or by burkejam71
Published on 2009-11-09T13:02:19Z Indexed on 2010/04/04 2:03 UTC
Read the original article Hit count: 422

Filed under:
|

I am running Apache/2.2.3 (CentOS). For some reason certain images, jpg, gif, or png will show up as byte code when accessed directly on the server. Firefox 3 and Safari both think the content type is text/html. IE I believe has something built in to recognize it is an image and ignore the content type and renders the image correctly regardless. I can't seem to find anyone else with this issue. An example of this can be found at

http://www.thedacs.com/admin/gp/userfiles/image/gp28%5Fimg%5F01.jpg

but the image below on same server the image is rendered correctly (use same path from above)

Fig3mod.jpg

The first image works fine in Photoshop CS, Illistrator, GIMP, Paint.net,and any other image editing software. I have tried everything when editing the images from trying multiple file formats to print screens and cropping to create a new image to lose old image meta data. Can anybody help?

© Stack Overflow or respective owner

Related posts about centos

Related posts about apache2