Displaying jpeg files through apache server

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

normano
Forum Newbie
Posts: 10
Joined: Thu Nov 16, 2006 11:16 am

Post by normano »

Yes I can open them normally, i don't think its a problem with the images, have a few thousand on my comp and have tried a fair few :P. Also tried using images saved directly from the web, same problem.
normano
Forum Newbie
Posts: 10
Joined: Thu Nov 16, 2006 11:16 am

Post by normano »

At the moment I am simply trying to open images I have saved into my root folder. Nothing complicated
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

but how are you trying to display them?

<img src...> ?

did you try what I suggested and view them from the file system in a browser file:///...?
normano
Forum Newbie
Posts: 10
Joined: Thu Nov 16, 2006 11:16 am

Post by normano »

yes, i have tried viewing them simply in a browser, localhost/img.jpg, this has the problem, so does viewing them using <img src="img.jpg">.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

no, I mean like this:

file:///C:/Inetpub/wwwroot/someimage.jpg

also, is it just one browser that you're seeing the issue with?
normano
Forum Newbie
Posts: 10
Joined: Thu Nov 16, 2006 11:16 am

Post by normano »

yes I have tried it like that, the images work fine in all cases out side of apache, vier apache and they don't fully load, have just reinstalled my entire apache set up, didn't help unfortunately
normano
Forum Newbie
Posts: 10
Joined: Thu Nov 16, 2006 11:16 am

Post by normano »

not tried a different browser, (goes off to get firefox)
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Try viewing your apache error logs as well. See if they are throwing anything at you.
Post Reply