navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Pathing/pictures problem

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Dreamweaver Help >> Pathing/pictures problem
Page: [1]
 
wo0ow

 

Posts: 4
Joined: 4/30/2007
Status: offline

 
Pathing/pictures problem - 4/30/2007 23:53:24   
Hi, im new here, so bare with me :)

I am trying to build a site from a dreamweaver template that i modified.
When i preview in explorer that page works fine, but when i click on one of the link buttons the page opens, but none of the pictures are showing (they all the the little red "x" like they dont exist).

From here the problem splits:
A. when i mouse over another link button (with no image) I see the target at the bottom of explorer is some thing like file:///c://about us.htm when it sould be something like file:///c://documents and settings/... ect. (the taget is fine on the first page that i preview)

B. when i click the IE back button the address bar shows C://documents... fine but the index.htm changes to some random letters like TMPp92u3hcfzo.htm ??

C. when i go to root folder and open the site it skips the first part of this message and goes straight to A.


I am obviously new to this so sorry if newbie question, but please help me out :)
mar0364

 

Posts: 3026
Joined: 4/5/2002
From: Florida, US
Status: offline

 
RE: Pathing/pictures problem - 5/1/2007 21:17:19   
sounds like you may not have defined your site properly try this
http://www.dreamweaverlearning.com/create-site.htm


_____________________________

Easy Web

“Stay committed to your decisions, but stay flexible in your approach.”


(in reply to wo0ow)
wo0ow

 

Posts: 4
Joined: 4/30/2007
Status: offline

 
RE: Pathing/pictures problem - 5/2/2007 0:56:41   
i did everything in that video except i went to site/edit sites instead of new site, but still all the same, when i click on the link, the text shows up, but no pics, when i click on the next link, the page cannot be found... any other possibilities?? should i copy a part of my code to maybe get a better understanding for you?

(in reply to mar0364)
mar0364

 

Posts: 3026
Joined: 4/5/2002
From: Florida, US
Status: offline

 
RE: Pathing/pictures problem - 5/2/2007 11:03:59   
What extension do your pages have DWT or HTML/HTM. The paths your talkin about sounds alot like that paths as they are in the DWT. When you base a page on a DWT you need to make sure you save it as an html/htm.

Help any?

_____________________________

Easy Web

“Stay committed to your decisions, but stay flexible in your approach.”


(in reply to wo0ow)
wo0ow

 

Posts: 4
Joined: 4/30/2007
Status: offline

 
RE: Pathing/pictures problem - 5/3/2007 0:00:38   
all my page files such as index are in htm format, my code targets them as htm as well..
ive never seen this problem before... thanks for the help u guys.. any more possibilites?

(in reply to mar0364)
sticks464

 

Posts: 55
Joined: 10/16/2005
Status: offline

 
RE: Pathing/pictures problem - 5/3/2007 10:10:19   
Check your link paths in the code, if they show C:/path then they need to be changed to indicate the path within the root folder of your site. The normal way is to create an image folder within the root folder of the site and have all images within that folder. A browser cannot access your files if they reside on your hard drive which is C:/. The path to the image should be either <img src="folder/image.jpg" /> or <img src="http://your site name/folder/image.jpg" />. If the path is <img src="C:\documents and settings\files/image.jpg" /> then the image is still on your hard drive and it will not be published with the site root folder to the host server.

(in reply to wo0ow)
wo0ow

 

Posts: 4
Joined: 4/30/2007
Status: offline

 
RE: Pathing/pictures problem - 5/4/2007 22:48:25   
OMG:) thank you sooo much, this was bugging me for a month straight!

now that i know the solution, i am wondering what causes the problem in the code:
the code that was there <img src="/images/image.jpg"/>
what made is work is <img src="images/image.jpg"/>
now i understand why it works without the "/" but i dont understand why does dreamweaver put it in there.. all my link i made with the "find target" button (the crosshairs button) and it types <img src="/images/image.jpg"/> this.. any reason for that?

again thank you sooo much u'r a God-send (no offence to any readers plz)

(in reply to sticks464)
sticks464

 

Posts: 55
Joined: 10/16/2005
Status: offline

 
RE: Pathing/pictures problem - 5/4/2007 23:32:31   
Another good reason to learn a little coding :)

(in reply to wo0ow)
Page:   [1]

All Forums >> Web Development >> Dreamweaver Help >> Pathing/pictures problem
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts