Problem: I can't seem to find out how I need to change my paths in the html code. I believe I need to load everything to public and all pictures and animations to images folder. If that is true I'm not sure how to change the path in my code to reflect the images folder.
Here's what I replied (slightly edited):
The locations of various website files is entirely up to you except the entire site must live under the public_html folder. If you choose to use an images folder then you are free to do so... many web designers do that to keep their sites neat and tidy. Here's a simple example to do it this way:
<HTML> <HEAD> <TITLE> test page </TITLE> </HEAD> <BODY> Here's my picture of my dog Toto.<br> <img src="/images/toto.gif"> </BODY> </HTML>
Assume this file above is called index.htm you put it under /public_html when you upload it and you put the toto.gif file under /public_html/images folder. When someone goes to your site they will see the sentence "Here's my picture of my dog Toto." and your little dog Toto's picture. If you wanted to dump all of the files into one folder (I'd recommend against it) you would replace the next-to-last line with:
The file path you put after src= would be in relation to the htm file being edited.
I have a church site with many folders - one for ministries, one for images, one for mission trips, etc. In all of my sites I try to remain consistent. I have folders for images, styles which include CSS stylesheets, Templates which are where my Dreamweaver templates are, and major categories if the site is going to be very large.
Hope this helps - if you have any questions just post to the forums in the appropriate category. Family members are standing by to answer your questions. Seriously, there are a lot of smart folks here and they love to help out!
Edited by Deverill, 07 November 2003 - 06:50 PM.