TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

Just a quick, noobish, question.

Page: 1 Reply
Jun 9th 2003#107428 Report
Member since: Sep 16th 2002
Posts: 1876
How can I upload a page to an ftp address to that the images work on it automatically?

Like, if I have an html page, that has a rollover image on it... how would I upload that page plus the two images needed for the rollover to work. Without having to upload the images first, then editing the html of that page and uploading the page.
Reply with Quote Reply
Jun 9th 2003#107439 Report
Member since: Aug 10th 2001
Posts: 793
FTP software does not read your documents, so theiy cant tell you tou have a missing images or send the needed images along you html file...

Uplaid should the the last step... fi you need to edite the file after you uploaded you are doing it wrong...

You are the only resposible in making surte than all the needed file are uploaded... itss your job...
Reply with Quote Reply
Jun 9th 2003#107444 Report
Member since: Sep 16th 2002
Posts: 1876
So whenever I upload a page, I have to upload each image first, then edit the html code so the pics work?

Like if I have:
[code] onMouseOver="MM_swapImage('Image1','','my%20graphics/Layout%204/Button2.gif',1)">[/code]
on my computer...

Do I then have to upload the picture, then change the link in the code?
Reply with Quote Reply
Jun 9th 2003#107448 Report
Member since: Apr 25th 2003
Posts: 1977
Im kinda confused about your question.. How are you making the page? Dreamweaver - Golive -Imageready (hand coding?) and how are you inserting the images?? Cause you can use the absolute url or the relative url. If you use relative..you dont need to edit when you upload. Also do you have the same directory structure on your ftp...or are your organizing the site after you upload??

I maybe be way off (i dont qet the question) so if i am...disregard this lol
Reply with Quote Reply
Jun 9th 2003#107455 Report
Member since: Sep 16th 2002
Posts: 1876
I think you're onto my drift, Rodder.

I'm making it in Dreamweaver (go ahead, laugh :D).

Also can you either explain the whole absolute/relative URL thing, since I think the answer to my question lies there somewhere. Or, if you're lazy, just point me to a link or something. I'll look on www.htmlgoodies.com for now.

Thanks.
Reply with Quote Reply
Jun 9th 2003#107459 Report
Member since: Nov 26th 2001
Posts: 2586
absolute:

http://yourdomainname/images/blah.gif

Relative:

images/blah.gif

You use relative where the file is in relation to your page, as long as the file is in the root path of your site. What I mean is index.htm or the main page will be in the root dir. so images/blah.gif would be in a relative path to index.htm in a directory called images.

Now if you make any changes to your pages you will need to load the change, unless you are directly linked to your server and are updating it live. But that is not a good idea, unless you dont care if something breaks.

Make some changes, get them working, then upload them.

If its a local server that you use to test, then break it up and do what you like, but if its on the net I would get it working first. Then upload it.
Reply with Quote Reply
Jun 9th 2003#107460 Report
Member since: Apr 25th 2003
Posts: 1977
whats funny about dreamweaver?? I love it.

Ok...an absolute url is the entire path to an object (like c:\mydoc\somefolder\somesite\images\rollover\mypic.gif ) Your objects location will always be that specific hierarchy...and it cant change (or else your images wont work).

A relative url...is an abbreviated url that is "relative" to your root folder/ index.html. So if your html document is in a folder called "site"... and you save your images into a subdirectory called "images"....then the url to your object is images/mypic.gif. The relative url only specifies subdirectorys from your root/index. This also allows you to move the directory anywhere you want...and the location of everything will always be the same.

Ok...hopefully i explained that ok. The quick fix for this:

When you insert an image in dreamweaver....look at the bottom of the dialog where it says URL and Relative to and use the drop down arrow to select "site root" (index file..root folder) instead of Document (which is on your computer)


edit: marble beat me to it!


Also you may want to look into the site manager in dreamweaver. that is pretty useful and allows you to make a remote connection to an ftp.
Reply with Quote Reply
Jun 9th 2003#107462 Report
Member since: Nov 26th 2001
Posts: 2586
hehe....
Reply with Quote Reply
Jun 9th 2003#107464 Report
Member since: Sep 16th 2002
Posts: 1876
Thanks guys.

And Marble beats everyone... so don't sweat it. :D
Reply with Quote Reply
Jun 9th 2003#107466 Report
Member since: Nov 26th 2001
Posts: 2586
No, I just spend too much of my time browsing this site ---- lol!
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum