>Barry... this is actually how I structure ALL of my pages.   On my sites,
>there
>is an image directory within the sites main directory...so all of the images
>have to be refered to as is the structure of the main directory.. am I making
>sense?
>
>For example: I have a site called Love Letters inside my domain,
>silverstardesigns.com
>
>So, inside the site which is my domian is a directory called "loveletters" and
>then inside of that is a directory called "images".  Since you have to go in a
>level to get to the images you have to have that / there... I actually use
>./images/imagename to use any images, but I am not positive I need the . there
>or not....


Anna, thanks but obviously I'm not conveying my problem to you.

It has nothing to do with whether or not there is an images directory
present or where it is. It has everything to do with (as I've since figured
out) absolute and relative paths to files.

This site I have taken over is coded with absolute paths. When I downloaded
the site to my local drive to work on it, of course none of the paths
worked. I've taken over several sites in the past and never encountered
absolute paths before.

My only solution is to recode the paths as I work on a particular page.
What a pain.

Or, I could create a duplicate of the site on the server, a "staging" site,
and work on it remotely, then when I'm satisfied with the changes on a
particular page, transfer it over to the "live" site. But since I"m sitting
at the end of a 56K modem instead of a T1, this is a little tedious.

Barry



>Barry Lee Brisco wrote:
>
>> I have a new web client, I'm taking over running their site, which is only
>> a few months old. I'vve just downloaded the html and image files to my
>> local drive.
>>
>> I wasn't expecting any problem, as before bidding on the job I had glanced
>> at the source and it looked pretty clean. But now that I've downloaded the
>> files to my local drive, I find something very peculiar.
>>
>> When I open up the homepage on my system, nearly every image is broken.
>> Almost all the paths in the code seem wrong to me. That is, the referring
>> path defined in the code to the images directory, which is one level below
>> the homepage file, is preceded by a slash, like this:
>>
>> ="/images/hbmbackground.gif"
>>
>>  instead of
>>
>> ="images/hbmbackground.gif"
>>
>>  so the image breaks in my browser. But when I view it online, the image is
>> displayed. I would greatly appreciate it if someone could explain what is
>> going on here: I had always thought that if a path was defined with a / in
>> front of the directory and file name, that meant that the directory was
>> _above_ the page.
>>
>> What is odd is that some of the images show up even though their path is
>> preceded by a /  It even varies depending on whether I view the html file
>> on a Mac or a PC.
>>
>> The situation is the same with the site's internal links to various pages;
>> the are all preceded by a / and they don't work locally.
>>
>> Apparently this is okay on a UNX server? But the client has been editing
>> and revising the site locally on PCs, how are they doing that?
>>
>> Barry
>> --
>> Barry Lee Brisco <mailto:[EMAIL PROTECTED]>
>> Web Design & Development - Online Marketing <http://www.ToTheWeb.com>
____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to