NameSilo

A beginners ?

Spaceship Spaceship
Watch
I know that people who do web design do not all have their own web hosting included with their design package...So I am wondering how they make sure that all content is view-able...I am currently trying to design a website for myself and when it comes to images I have to make sure that the image has the correct url before I upload with the ftp to my webspace...I am using Frontpage 98...when a designer does this how does the person know exactly what address to put in the image url? All webspace providers use their addresses a little differently so do the designers collect all this info. from their customers or what? I guess what I am asking is how do you know what the address will be before you upload to the space?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
One way to do it is to use relative paths to the files. So instead of using the full url to the image like <img src=http://www.site.com/images/image.gif> you could use <img src="/images/image.gif"> That way it should work on on any server without having to modify the code. :) You just need to learn how the paths work.
 
0
•••
You can also use a mixture of relative paths and php, to turn them into full paths, but relative paths are the best way to go.
 
0
•••
Thanks

Thanks for the information it was a big help to me! It works great and isn't as much trouble as typing the whole addy for the image...Thanks again! :)
 
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back