PDA

View Full Version : wierd img srcs



mavrick422
12-26-2005, 07:33 PM
hi, i use adobe golive cs and when i link an image to the source "images/gifs/snow.gif" (which is the url of the image when i click on it in the sites window) and i preivew the page in safari, it can't find the image. i go to the activity window and it says "No file exists at the address “/Applications/Adobe GoLive CS/Santa Mail/web-content/pages/images/gifs/snow.gif”. "pages" is another folder in my site, but "images" is not in it. it should have the address "/Applications/Adobe GoLive CS/Santa Mail/web-content/images/gifs/snow.gif”. WHAT DO I DO?!?

jscheuer1
12-26-2005, 07:52 PM
Edit the file in a text editor and correct the path.

cr3ative
12-26-2005, 07:55 PM
hi, i use adobe golive cs and when i link an image to the source "images/gifs/snow.gif" (which is the url of the image when i click on it in the sites window) and i preivew the page in safari, it can't find the image. i go to the activity window and it says "No file exists at the address “/Applications/Adobe GoLive CS/Santa Mail/web-content/pages/images/gifs/snow.gif”. "pages" is another folder in my site, but "images" is not in it. it should have the address "/Applications/Adobe GoLive CS/Santa Mail/web-content/images/gifs/snow.gif”. WHAT DO I DO?!?

You'll want GoLive set to have a sensible root folder to avoid this. Create your page in a folder of its own, and put all images in there. Build from there, and you shouldn't have a problem with image locations. GoLive can also publish your site to the web if you give it your FTP information, and I believe it parses your code for all image locations and corrects them when uploading. For you, this would probably be the easiest option.

mavrick422
12-28-2005, 03:09 PM
well, i dont have a server for the site just yet, so i would prefer to fix it now with the former idea. what do u mean by making a new page? did you mean site? so just redo the whole site and drag and drop the files from the old site to the new one? thanks

jstgermain
12-31-2005, 06:33 AM
simply create a folder on your computer called "web pages" or whatever you want. then create a folder in there for the specific site, like "personal site" or something. then save your html files in there. create another folder within that folder named "images" and a folder in the images folder named "gifs". save the gifs there, just like before. now your site will have its own folder, instead of "Applications/Adobe GoLive CS/Santa Mail/web-content/pages/images/gifs/" edit you code to say:


<img src="images/gifs/snow.gif">

then the image should work just fine. and use something like golive or dreamweaver or some other WYSIWYG editor if you are not that great at coding. much easier, and i even use dreamweaver even though i refused to for years, and i just used notepad. dreamweaver makes the process a lot quicker. :)

mavrick422
12-31-2005, 06:39 AM
so just create a whole new folder in my documents folder (on a mac) and save all my site contents as? thanks

jstgermain
01-01-2006, 01:29 AM
so just create a whole new folder in my documents folder (on a mac) and save all my site contents as? thanks

pretty much the point i was trying to get across, but with a PC. lol. just got a little to descriptive i guess. haha