Hi Rick,
FYI, I'm using Robohelp 10
Have you opened any topics with images in the RoboHelp editor and made any changes? If so, do the image paths remain as you configured them? |
I tried to edit HTM image paths within Robohelp, either manually navigating to the images in the Image Properties in the Design tab, and manually in the HTML tab. When I save the topic, the path is automatically redone to be a local path and the image saved locally.
If I edit the HTML in Notepad++, Robohelp keeps it, until I change anything in the HTM file and then it redoes the path and saves an image locally.
Mind you, if I create an Image folder within the project folder, and change all the paths in any of those methods, the image path is respected and maintained.
It's not practical to manually re-edit the path in Notepad each time I need to update the HTM file.
Have you opened a topic in the Connect project using Windows Notepad and compared it side by side with a topic from the Image project where things seem broken? If not, you may want to explore that as it may provide clues. |
I've done this many times, but find no difference. Even if I reuse-the Connect map with other topics, the bad behavior occurs. So it must be something in the HTM files?
Lastly, I'd likely also want to explore the project structure of the Connect project and compare it to the structure of the Image project. That may also provide clues. |
I've not had any luck with this. I could not find any differences in the Project Settings.
If I'm reading you correctly, I believe that you are thinking the issue is happening with the translation agency at the time it is working with the projects. |
I don't know what a translation agency is. I'm saying that there must be a way to get Robohelp to accept image paths that lead outside the project folder, because Robohelps allows it with Connect.
I need to find a way for this to happen consistently in all projects, because some of them use a large amount of images, and when you multiply this by 12-20 languages, this causes lots of problems. The nature of the software I document means that I need these images. I cut and clip as best I can, but sometimes the detail is extremely important.
The translators, who are scattered around the world, and I can't talk directly to them, use Robohelp for their work. I send a ZIP file with the English source files, which they unzip to work with. They return to me a ZIP with their source files, a CHM file, and a WebHelp output.
If I can get Robohelp to recognize the path I want, then I'd have an Image folder at the same level as the Project file, and a matching Image folder in the !SSL!/Webhelp level, so that when they generate their webhelp, they can preview their generated files.
The software installer would install by default an Image folder, and then when the user opens the web help for the first time, the webhelp would be installed, and be able to find the Images thanks to the relative image path.
Since I could not get Robohelp to reference an image folder outside the project folder, I turned to a workaround.
I consolidated all of the images into one folder at the project level called Images. I've a folder at the same level called HTM, and all of the HTM topic files are in it.
I did a relative path that is standard to all of the image source paths, so there is the following consistent string:
src="../Images/
which can be edited by an automated script in the output WebHelp files to:
src="../../Images/
A developer created a script that says in the folder, change this script in all its subfolders. I tested it and it worked like a dream.
So when the translators deliver to me their translated WebHelp, I run the script on it. I have one master zip file that contains all of the WebHelps and an Image folder that is the correct structure. The devs can then unZIP the file in the correct location.