View Full Version : Questions about uploading my website.
gladius 10-22-2003, 11:39 PM i made a website with DreamWeaver and i am trying to upload the web site for the first time. for testing, i uploaded my site to Geocities. all the texts come out but no pictures. what did i do wrong?
also, i was told that i need to have local server on my computer? How do i do that?
|
|
Emmortal1
10-22-2003, 11:50 PM
Why would you need a local server on your computer? Unless you plan on serving the webpage from your house, which the majority of ISP's disallow unless you pay extra. Probably what's going on is that your link's to the pictures in your HTML code are pointed to the directory on your hard drive i.e.
<img src="c:\mypictures\mypicture.jpg" blah blah blah>
When they should have the url included to your geocities directory i.e.
<img src="YourDirectoryOnGeoCities/images/mypicture.jpg" WIDTH=800 HEIGHT=518 ALT="">
Hope that helps,
Emmortal
gladius
10-23-2003, 12:55 AM
Emmortal1, thank you.
:cool:
Emmortal1
10-23-2003, 01:06 AM
Not a problem, glad I could be of help.
Emmortal
klingspor
10-23-2003, 07:34 PM
@Emmortal1: A local server is useful for testing purposes, that is if your site makes use of a scripting language such as PHP or Perl. Uploading files simply for testing is wasteful and can potentially even break things, so testing is always a good idea!
@gladius: You can get a free server at apache.org (http://www.apache.org) - it's reasonably easy to setup, but don't expect any wizards to guide you through or anything... it is a web-server after all.
Emmortal1
10-23-2003, 07:40 PM
If you are getting into scriping/php/asp etc, then yes I see your point. For doing a basic website with basic HTML/Flash etc it would be kind of pointless to set up a webserver on your computer IMO.
Emmortal
gladius
10-25-2003, 10:03 AM
stefanminning, thank you, Greatly appreciated. you guys helped alot. thanks!
singularity2006
10-25-2003, 05:22 PM
some people end up running into problems, like I do, working w/ JavaScripting that sometimes must use absolute file spec strings, which makes it difficult to do anything locally.
For example, I have an external JavaScript NAV menu that is used on all pages on my site. But if all pages on the site are in diff sub folders, my ../../ and subdirectory and relative folder structure just doesn't work. Everything must be absolute value to account for the exact location on the server for the script to work on every page. In that case, I have to initially develop everything to use the server structure... kinda confusing.... but I can give u the script I play w/ and u'll see what I'm talking about. =)
klingspor
10-27-2003, 09:42 AM
Originally posted by singularity2006
some people end up running into problems, like I do, working w/ JavaScripting that sometimes must use absolute file spec strings, which makes it difficult to do anything locally.
For example, I have an external JavaScript NAV menu that is used on all pages on my site. But if all pages on the site are in diff sub folders, my ../../ and subdirectory and relative folder structure just doesn't work. Everything must be absolute value to account for the exact location on the server for the script to work on every page. In that case, I have to initially develop everything to use the server structure... kinda confusing.... but I can give u the script I play w/ and u'll see what I'm talking about. =)
That's strange, because if you set up your testing server correctly, you should always be able to access the root path with "/"... just put your script in "/scripts/navigation.js" and call it from any page - should work on the local server just as good as on the web server... and there's no need to get into relative paths at all.
Unless I misunterstood your problem, that is! :shrug:
CGTalk Moderation
01-16-2006, 11:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.