Hi all,
I am using Win XP and Xammp v1.8.1
Newbie question - so hopefully a simple answer
I have 3 hosted sites and use a common structure for each. This is:-
root\ - On my hosted site this is \public_html\
root\images\ - On my hosted site this is \public_html\images\
root\css\ - On my hosted site this is \public_html\css\
root\upload\ - On my hosted site this is \public_html\upload\
In each of these hosted sites I keep all the graphics in the relevant images folder.
I have copied the files from the hosted sites to a named folder in C:\xampp\htdocs\ for example:-
C:\xampp\htdocs\site1\
C:\xampp\htdocs\site2\
C:\xampp\htdocs\site3\
The index page - pointing through my browser using:- http://localhost/site1/index.php works but the images are not displayed, only the alt links. This is the same using site2 and site3 in the url.
So the question:-
How do I get the images to display correctly using localhost without changing any of the code that works on the hosted sites and keeping the folder structure complete?
This has probably been asked lots of times but I cannot find a solution via search that I can understand.
Any help would be greatly appreciated