This problem has me stumped to the point where I think I am
missing a easy fix.
I was in the process of "redoing" a website, adding new
navagational bar, logo, and photos ... I went to preview in the
browser, and that page came up. The problem is when I click on the
links to go to another link, everything I just did in regards to
photos, logo, and navagational bar are gone. Just a little "x" in
its spot. The verbage, tables and layers are still there, just
nothing that would have a image. I was thinking this might have
something to do with java, but I tried it in another machine and
again, same problem. And on one page, when I click on the "home"
page, it comes up "page not found" which I find very odd. Nothing
like this has ever happened... so I am stumped.
> went to preview in the browser, and that page came up.
> The problem is when I click on the links to go to
another link, everything I
> just did in regards to photos, logo, and navagational
bar are gone.
A guess based on the above-
You are using site root relative paths for the photos and
(they start with a leading / slash)
these work in the "preview in browser" page dreamweaver
builds because dw
makes a TMP temp page and converts the site root relative
paths to document
relative. The site root relative paths will also work fine on
server, IF the site is at at the root of a domain (
http://mysite.com instead of
but- when you click on a link in the "preview in browser"
page, you are then
looking at the raw html files from the hard drive. the
paths don't work, because your hard drive isn't configured as
a server and
there is no "domain name" assigned to that local folder on
the drive. So
<img src="/images/2.jpg"> is a bad path and the red x
is shown on the page.
IF your site has it's own domain name, and this "site" in dw
is defined to
the root level of that domain, you can ignore this. If it
still bothers you,
you could change the paths to document relative.
If your site is defined to a subfolder of a domain, you will
have to change
all the links to document relative for them to work when
at the bottom of the "browse to file" dialog box where you
pick an image or
pick a file to link to is a pulldown with the choices of
Document" or "Relative to Site Root"