HighDots Forums  

Image Links from Templates don't work anymore

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Image Links from Templates don't work anymore in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Hedgeclipper
 
Posts: n/a

Default Image Links from Templates don't work anymore - 06-11-2004 , 09:32 AM






I'm using Mac OSX 10.3.4 and DreamweaverMX

Just recently when working with templates, the link paths it generates for
images are incorrect.

Months ago when everything was working correctly, the templates would show a
path that looked like - <img src="../images/picture1.gif"> this would be
converted by Dreamweaver to become- <img src="images/picture1.gif"> in the
actual pages. So the "../" would get dropped when the actual page is created
this would result in a normal page that would view correctly.

The problem:
Recently link paths within the template look like - <img
src="/images/picture1.gif"> this would be converted by Dreamweaver to become -
<img src="/images/picture1.gif"> in other words there is no change! The
resulting pages will not view correctly either locally or on the remote server.

The path it is creating is a "root path" and not a "relative path".

It may be all due to the Mac OSX 10.3.4

Is anyone else having the same problem? Sadly, I can't use templates or
symbols any more. Any insight would be greatly appreciated.

Thank You.


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Image Links from Templates don't work anymore - 06-11-2004 , 09:37 AM






It's because of *you*. You have inadvertantly changed the (sticky) link
method from document relative to root relative, and that's where it has
stayed.

Read this -

http://www.macromedia.com/support/dreamweaver/ts/documents/site_root_rel.htm


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Hedgeclipper" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I'm using Mac OSX 10.3.4 and DreamweaverMX

Just recently when working with templates, the link paths it generates
for
images are incorrect.

Months ago when everything was working correctly, the templates would
show a
path that looked like - <img src="../images/picture1.gif"> this would be
converted by Dreamweaver to become- <img src="images/picture1.gif"> in the
actual pages. So the "../" would get dropped when the actual page is
created
this would result in a normal page that would view correctly.

The problem:
Recently link paths within the template look like - <img
src="/images/picture1.gif"> this would be converted by Dreamweaver to
become -
img src="/images/picture1.gif"> in other words there is no change! The
resulting pages will not view correctly either locally or on the remote
server.

The path it is creating is a "root path" and not a "relative path".

It may be all due to the Mac OSX 10.3.4

Is anyone else having the same problem? Sadly, I can't use templates or
symbols any more. Any insight would be greatly appreciated.

Thank You.




Reply With Quote
  #3  
Old   
Hedgeclipper
 
Posts: n/a

Default Re: Image Links from Templates don't work anymore - 06-11-2004 , 10:35 AM



I figured there would be a preference setting to make links document relative
rather than root relative. But, I can't find where to change the "sticky link
method" back to "document relative"?

Forever greatful to anyone with the answer. Thanks


Reply With Quote
  #4  
Old   
Gary White
 
Posts: n/a

Default Re: Image Links from Templates don't work anymore - 06-11-2004 , 11:28 AM



On Fri, 11 Jun 2004 14:35:04 +0000 (UTC), "Hedgeclipper"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
I figured there would be a preference setting to make links document relative
rather than root relative. But, I can't find where to change the "sticky link
method" back to "document relative"?

Forever greatful to anyone with the answer. Thanks

Create a link by browsing to a file. While doing that, look at the
bottom of the dialog and change the drop down to Relative to Document.


Gary


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.