CoffeeCup HTML Editor 2007 - Tries to...

User 349979 Photo


Registered User
4 posts

Hello,

The issue I am having is this:

1. I am using CoffeeCup HTML Editor as a visual editor. The idea being that I am training a client to manage their own website locally on their machines first, and then upload the edited files.

2. HOWEVER...
When I actually click on an image in a web page in CCHTMLE, it resolves the full path locally on my machine. When I then save this file and upload it to the web browser, it keeps that full "file://..." path instead of just a simple "image.jpg" path.

3. To me, this is very strange. Yes, I can go into the HTML myself and remove all those characters that break the linking. But, there has to be a way to remove that full auto file pathing resolving mechanism in the VISUAL MODE of the editor, without having to go into the Code Editor and remove it.

Thank you.
User 282670 Photo


Registered User
3,940 posts

http://www.coffeecup.com/forums/topic-a … -samba/420
here is another post with the same problem, maybe this will help you.
Bruce




User 349979 Photo


Registered User
4 posts

Well, here is what happens...

And yes, I did read that post Bruce, thank you. :)

1. I build my *.htm files with a text editor. Call me crazy but I believe in having my HTML code appear tidy, rather than have it destroyed by WYSIWYG's. :P

2. So, in the course of building an *.htm, I build the image tags like this:

<img src="image.jpg" border="0" >

Obviously the *.htm file is in the same directory as the image.jpg file.

3. I fire up CoffeeCup.

4. I go to the Visual Editing mode.

5. I see the image.jpg show up. Now, at this point, I have touched NOTHING in the document with CoffeeCup.

6. I Left Mouse Click once on the image.jpg file.

7. This is where it gets bizarre. The image editing tool bar that appears when you click on an image pops up at the bottom of the screen. The text area labeled "Src" then updates itself and resolves the source path of the image to:

file://F:\CCPNA\WEBSITE\image.jpg

8. If I now SAVE this file, the HTML code now puts the image tag as:

<img src="file://F:\CCPNA\WEBSITE\image.jpg">

9. When I upload the file to a Web Server, obviously the *.htm file is going to look for that image.jpg file in that path and not find it.

See the problem I am having? I don't want to click on an image in CoffeeCup and have it resolve the absolute path of the image file. That's retarded and gives me an extra headache having to go through the code myself and fix the src so that it displays properly on a remote site.

Thanks again.
User 349979 Photo


Registered User
4 posts

Well, rebooting the machine did nothing to resolve the problem.

The only workaround I have is this.

What I noticed happening is that if you erase the actual full path from the src box in the image tool bar when you click on an image...

And then immediately save the *.htm file BEFORE moving your mouse...

The file will save with the image src path that is in that box at the time you save it.

As SOON as you move your mouse, CoffeeCup decides to try to update the full path once again, making the src link unusable.

It does not matter what you have set in the directories preference for working, image, sound directories. This has no effect on the functionality.

I am seriously considering dropping CoffeeCup because of this one functionality, because my client is not going to have the technical experience to go through line by line of HTML code and find the spot to fix.

And, I don't want to have to train my client to use a piece of software by utilizing a workaround on a glitch that really should not be there in the first place at all.

Thank you.
User 117361 Photo


Ambassador
6,076 posts

The only thing that comes to mind is that the page must be saved before you go looking for the image to insert. So even if you are beginning a new page you must save it first and then begin to insert images.
Just an idea.
Janys
User 16052 Photo


Registered User
1 post

I am having the same problem and it is driving me crazy! I have an existing site - and I really don't feel like wasteing hard drive space to put all my images BACK on my computer. They are all on my server - or on back up disk. I followed the FAQ for this - what a waste!

How do I get 2007 to act like all the previous versions and just leave my source alone? Even if you have the tecnical experiance to edit, why would you want to go through every link and fix it - it was fine to begin with before coffecup touched it.
User 396425 Photo


Registered User
8 posts

Hi everyone. I've done some html coding in days past and just bought the Coffeecup software (lots of it) and I have the same annoyance at having to be careful to remove the reference to my pics being on my hard drive. I just thought that was a given you'd have to do that. The good news is you should only have to do it once, the first time that you select it from, hopefully, your working folder.
User 7862 Photo


Registered User
6 posts

I have a similar problem, but isn't the issue relatively easily resolved? It's best not to use relative links like "image.src" but the full URL. Then there is never a real problem, unless you change the directory structure of your web site. To change the relative links to full URLs you can do that for your entire site using the Find and Replace for all pages. It worked for me.
User 1968437 Photo


Registered User
1 post

Mykel is right. Every time I add an image from my images folder, the absolute path is inserted.

When I try to edit the absolute path in the image information, Coffee Cup changes it back from relative to absolute.

So I go to the Code Editor and change it back to relative and that is a MAJOR pain since I have a lot of images.

PLUS, if I touch the image later in the Visual Editor for some reason, Coffee Cup changes the relative path back to absolute AGAIN!

I am not saving images as thumbnails in my website project images folder so that is NOT the reason.

And contrary to another post and thread, Coffee Cup does NOT change the absolute path to relative when saving the file for upload.

I'm tired of getting those dependancy warnings and changing all these paths in the editor.

I wonder what all the poor people who don't know a thing about html are doing? Are these the websites we run on to with all those x's in place of images?

I too am considering dropping the Coffee Cup software because this is so so so aggravating.

Who wants to go around changing all the paths every time they touch an image?

Who wants to have to change the path every time they insert an image?

This is super frustrating.

I hope this gets fixed sooner than later or I'm going with another editor.
User 629005 Photo


Ambassador
2,174 posts

The HTML tab and Visual tab were never meant to be used in conjunction with each other in that editor. It is recommended that you use either HTML OR Visual editor but not both. You can open the preview tab (or leave it open while coding) to see changes as they are being applied.

This is not a BUG.
Living the dream, stocking the cream :D

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.