I'm developing a site on my localhost, this then get's uploaded to my hosting server. However i have an issue with the image paths.
I've used the normal src="images/filename.gif" so it works in both the localhost and server. (using master pages) when i create a subfolder, the images/filename.gif no longer works ( it's expecting a subfolder/images).
If i use the /images, this doesn't work on the local (because it goes back ot the localhost/images)
I have two current ideas on how to solve this.
1) Go to localhost on my pc and put the folders in there (but this defeats the purpose of different folders for different applications)
2) Create a folder on the server called AppName, and then use anything that has to be found from anyfile from the program.
Is there a better way to do this or are they my only options? Thanks.