Login for Software or Support

CoffeeCup - HTML Editor, Flash & Web Design Software

Over 45,135,555 Downloads in 87 Countries

Tell a Friend About Our Cool Software

CoffeeCup HTML Editor Help Center

Sign In For Priority Support Forgot yours ?
More The HTML Editor Help: Other Resources: Contact CoffeeCup:

Send Snail Mail:
CoffeeCup Software
165 Courtland Street
Suite A, Box 312
Atlanta, GA 30303

Give us a call:
Toll Free: 866.734.HTML (4865)
Sales Hotline: 678.495.3480
Fax: 678.495.3481

My images are being referenced on the hard drive

To correct the issue of images being referenced absolutely on the hard drive, you'll need to perform a two-step process.

First, setup a new project using your existing website. You'll need to do this even if you've been saving everything in the Working directory. Click the Projects tab, then click the New Project button (globe w/folder icon). This will ask you to choose a name and location for your project. You can name the project anything you'd like, and click the "Browse" button (folder icon) to select the folder with your html files.

Anytime you open up the files within that project, the Editor will use relative paths for images and links to the other pages in that folder. The next task is to correct the code for your current site so it too uses relative paths.

Open your page and switch to Code Editor. For each image, you'll find an image tag and src attributes:

<img src="file://C:\Program Files\CoffeeCup Software\Working\filename.jpg">
This references the files directly on the hard drive and is the cause of all the problems. You'll need to delete the path before the filename so the image will display correctly. The code should then look like this:
<img src="file.jpg"> if your images are in the same location as your html files
or
<img src="images/file.jpg"> if your images are in a sub-folder of your site.

Once all the image paths have been changed, you can save the file and upload it to the server. If you're still experiencing problems, you can contact us with a link to your site and we'll take a look at it to help you find a solution.

Was this article helpful?

The HTML Editor Help Index | The HTML Editor Homepage

Download Our Software:

... and don't forget about our Free Software

CoffeeCup Home Page | Software | Copyright & Legal | Site Map | © 1996 - 2008 CoffeeCup Software, Inc.