images & style not displaying in EXpressin Web2

Reply

Join Date: Oct 2006
Posts: 13
Reputation: dobbin2 is an unknown quantity at this point 
Solved Threads: 0
dobbin2 dobbin2 is offline Offline
Newbie Poster

images & style not displaying in EXpressin Web2

 
0
  #1
Jan 18th, 2009
My problem is the opposite to most image problems. I have just downloaded my web site [not designed by me] into Expression Web2, which I have just purchased. However I cannot get the images or styles to show although they all show perfectly on the published web site.

I have tried downloading again and synchronising, all to no avail.

I then looked at the code and compared it to the code from the same page which I downloaded a month or so ago which displays correctly in ‘expression web’. I cannot read or write HTML but noticed the following:-

on the original it read for example:-
<link href="style.css", whereas the one which would not work read <link href="../style.css"

likewise with the images for example on the one that worked read:-
<a href="enquiry.htm"<>img src="images/contacttop.gif"

whereas the other read:-
<a href="../enquiry.htm"<>img src="../images/contacttop.gif"

How did the ../ get into all the links so they did not work on the local site although they still worked on the remote? What does ../ mean?
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 686
Reputation: sillyboy is on a distinguished road 
Solved Threads: 61
sillyboy's Avatar
sillyboy sillyboy is offline Offline
Practically a Master Poster

Re: images & style not displaying in EXpressin Web2

 
0
  #2
Jan 18th, 2009
../ means "up one directory". My suspicion is that during your download process it would have arranged your files in such a way that the images were in the parent directory of the html. Just look on your file structure and make sure the images are there, if not move the images or change the links.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 5
Reputation: Exciting Sales is an unknown quantity at this point 
Solved Threads: 0
Exciting Sales Exciting Sales is offline Offline
Newbie Poster

Re: images & style not displaying in Expression Web2

 
0
  #3
Jan 24th, 2009
I use expression web myself...

- Make sure the folder on your computer recreates the file structure in your public_html directory so your site will display properly when checking it locally.

- Edit the all the links in the html so that they correspond to the directory structure. Which will probably just mean going through and removing all the ../ so if its an image it should be "images/image.jpg" if its a stylesheet it should be either "style.css" or "style/style.css" (if you have several style sheets and have grouped them in their own folder) for example.

Save and reupload your website and you will have no problems int the future.
Excitahost.com
Get Excited About Hosting
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: images & style not displaying in EXpressin Web2

 
0
  #4
Jan 26th, 2009
This happens when a browser does the downloading to a folder.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC