Jump to content


Photo

Images on Local host


  • Please log in to reply
1 reply to this topic

#1 benjoewilson

benjoewilson
  • Members
  • Pip
  • Newbie
  • 5 posts
  • LocationLondon

Posted 21 February 2006 - 11:44 PM

I have installed php and IIS on my laptop but am pretty clueless on any set up further than that. All works fine except when I view images they are jumbled. The same happens in IE, mozilla and Netscape.

If I enter the address as below it comes out disjointed and jumbled.

[a href=\"http://localhost/pictures/activities/test.jpg\" target=\"_blank\"]http://localhost/pictures/activities/test.jpg[/a]

If I enter the address

file:///C:/Inetpub/wwwroot/pictures/activities/test.jpg

It comes out fine.

It also comes out fine when I upload it online which is based on an apache server. This is happening for the majority of my jpeg images, I have tried switching an image to GIF and it still happens.

Any ideas appreciated.

#2 Cep

Cep
  • Members
  • PipPipPip
  • Advanced Member
  • 539 posts
  • LocationOn a boat in the middle of nowhere

Posted 23 February 2006 - 10:33 AM

You might find it will work if you use the IP address instead of local host.

[a href=\"http://127.0.0.1/pictures/activities/test.jpg\" target=\"_blank\"]http://127.0.0.1/pictures/activities/test.jpg[/a]

I am not quite sure what you mean by disjointed and jumbled.

Do you see the image or not?

Thanks Cep




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users