Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

the fastest way to convert all links that are "relative to document" to "relative to site

Posted on 2004-09-28
3
Medium Priority
?
182 Views
Last Modified: 2010-04-25
Hello

What would be the fastest way to convert all links that are "relative to document" to "relative to site"?  
 
if this is what i have right now:
<img src="CCImages/FinalCCImages/redbutton.gif">
 
I tried to change it to:
<img src="/CCImages/FinalCCImages/redbutton.gif">
 
but now all the images are not showing (just an X) including my navbar is gone.
 
Thanks
0
Comment
Question by:mdbbound
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Saqib Khan earned 2000 total points
ID: 12173662
> <img src="/CCImages/FinalCCImages/redbutton.gif">

by doing this it is assumed "CCImages/" Folder is within your Site ROOT folder (where the index Page is)?
if thats true then it should work, otherwise you have to define the Correct Path.(/Images/CCImages/.. etc)
0
 
LVL 23

Assisted Solution

by:Saqib Khan
Saqib Khan earned 2000 total points
ID: 12173679
in most cases we do Global Search and Replace in DW.

Search for  - >    /CCImages/
Replace with - >  http://www.site.com/CCImages/

Good Luck
0
 

Author Comment

by:mdbbound
ID: 12173938
Thanks adilkhan
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question