Using external files feature

Hello,

I’ve question regarding external files feature.

We have on-line application that can generate off-line version contains static html files with proper pictures.
More than 90% of publication is high resolution pictures and this cause that generated exe with publication exceeds 4 GB.

In general Windows is unable to run such big file (it shows error “Not enough storage is available to process this command”). It does no matter if computer have 4 GB / 8 GB / 16GB memory available.

So we decided to compile small exe with external images. But structure of generated site is like in example below:

ROOT/index.html
ROOT/models/1/1.html
ROOT/images/1/3/4/image1.jpg
ROOT/images/1/3/4/image2.jpg
ROOT/images/1/7/9/image3.jpg
ROOT/images/2/8/11/image4.jpg
etc.

If I set image as a external file as I understood documentation I’m supposed to write full path to image for example %PATH%/images/1/3/4/ and this should be done for every external file. In my case it is about 1000 files so it is rather time consuming manual work.

Did I miss something or there is other solution for this problem. As I’ve mentioned I cannot change structure of generated static html pages.

Thanks for any suggestions
Regards
Tom

In the latest version of HTML Executable, we introduced a feature that should interest you.
From documentation at http://www.htmlexe.com/help/externalfiles
Accessing external files from the publication
Your application can automatically load external resource files (not compiled into the EXE file): for instance, you can have image and media files outside the EXE file (in the same folder or a subfolder).
Examples:
• If an HTML file references image1.png, the application will look for the image1.png file into its compiled data; if it is not found, it will try to locate it in the same folder as the EXE file (depending on the URI) and load it.
• If you have image file in a subfolder, e.g. <img src=“myfolder/my image.png” />, the application will expect the “my image.png” file to be in a subfolder named “myfolder” (if you leave the file external).
External files have to be deployed with the application’s EXE file, in their respective folders.
It should help you to load those large image files without requiring you to modify your HTML code.