Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Odd problem with jpgs, localhost and Apache 2.0.48


Spike_UK

Recommended Posts

This is kind of related to osCommerce, but only in the sense that this was discovered while testing osc on localhost.

 

I seem to be having really bad problems loading JPEG images on my localhost server.

 

If I enter the localhost address into either IE or Firefox i.e "http://localhost/blah.jpg" then I get either a blank page or a page cannot be displayed message.

 

But if I enter the direct address to the image i.e "c:\apache\apache2\htdocs\blah.jpg" the image will load fine.

 

This doesn't happen with all images and they jpg's appear to load perfectly in photoshop or windows picture and fax viewer.

 

I have no idea what could be the cause of this. It was discovered while trying to get the Image Resize 1.5 Contribution working. The thumbnails are being generated, but the original image, although correct, isn't being displayed.

 

Any ideas what could be causing this?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...