Question:

Troubleshooting getting images to show creating webpage in Dreamweaver

by  |  earlier

0 LIKES UnLike

I am building a site with Dreamweaver. I have a background image I used in a CSS for the header and buttons that are my navigation bar (but they are individual images). The problem is in the main content area, the all the images I am adding to those pages will not show when previewed in the browser. The images show in design view but will not show in design view

I have verified the images are in my assets folder (the same folder as my buttons and logo) and I am frustrated to my limit trying to understand why it isn’t working.

I am using a another site to test the site in a subfolder and here is the address if anyone wants to view the source code to see what I may be doing wrong. The site isn’t complete so I know there are a lot of things that probably shouldn’t be and will change.

http://www.trk-theroachkiller.com/votepaula/dist8.html

I also noted that when I downloaded yahoo site builder it didn’t convert the pages, but there was one section of text that I could not see on the page in dreamweaver and on the test site that showed up. That made me realize that it may be “behind” something that I could not see.

Any help I could get would be greatly appreciated.

 Tags:

   Report

2 ANSWERS


  1. Oh, yes, they don't work for me. Sorry, I'm blind.

    But dreamweaver shows your images  maybe because you're testing it before you upload to the web server?


  2. I do not know what vicesofvirtues is talking about, the images in the main body do not show up for me in IE7, FF2 or Safari3 for Windows.

    The problem is that you have a slash / at the front of the path to the images like- <img src="/Assets/d8map1.png" etc... Putting a slash / in front of the path is intended to point to the sites root and then the server will "cascade" it's search for that file down through the sub-dirctories from the root of the server. This only works on dedicated servers where your site is the only one on the server, I believe. It does not work on shared servers (because your sites root is not the servers root) and it will not work on your computer either. I do not know why DreamB.S. shows the files correctly, I presume it "pretends" that it is a dedicated server. So make sure the path to the file is correct and no slash / at the front of it.

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.