Hello,
I am a new user of krpano, and am having difficulty setting up a custom kmakemultires config file.
I am attempting to use the htmltemplate= directive, but it appears that regardless of this directive, the template embedpano.html is always used.
By way of example, if the config file vtour-multires-walleye.config includes the following lines:
|
Source code
|
1
2
3
4
5
|
# html output/template
html=true
htmlpath=%INPUTPATH%/vtour/tour.html
htmltemplate=html/embedpano_walleye.html
htmltemplate_html5=auto
|
and the html directory contains the following files:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Directory of C:\Program Files (x86)\krpano\templates\html
01/15/2017 12:12 PM <DIR> .
01/15/2017 12:12 PM <DIR> ..
03/24/2016 09:51 AM 1,250 embedpano - original.html
09/30/2016 05:54 AM 9,993 embedpano-inline-js-singleswf.html
01/14/2017 01:55 PM 1,434 embedpano_walleye.html
03/24/2016 09:53 AM 2,241 tour_editor.html
01/15/2017 09:07 AM 2,586 tour_editor_walleye.html
01/15/2017 09:07 AM 2,485 tour_spotloc_walleye.html
09/22/2016 01:23 PM 141,824 tour_testingserver.exe
09/25/2016 10:41 AM 172,864 tour_testingserver_macos
01/15/2017 09:27 AM 2,463 tour_videospoteditor_walleye.html
9 File(s) 337,140 bytes
2 Dir(s) 378,497,679,360 bytes free
|
then kmakemultires 1.19-pr8 produces the following error output:
|
Source code
|
1
2
3
4
5
6
7
|
kmakemultires 1.19-pr8 - 64bit (build 2016-09-30)
- using config: vtour-multires-walleye.config
Output: Flash=yes HTML5=yes
ERROR: unable to load html template: C:/Program Files (x86)/krpano//templates/ht
ml/embedpano.html
|
Note that the error output indicates that it is looking for embedpano.html, NOT embedpano_walleye.html as called out in the htmltemplate= directive.
This occurs regardless of the presence or absence of the htmltemplate= directive.
If the file embedpano.html exists in the C:\Program Files (x86)\krpano\templates\html directory, then no error message is produced and the output is generated using that template.
What have I missed? Is a different path to the template required? Is this a known bug? I do see a post from back in Sept 2015 regarding something like this, but that was with version 1.19-pr3.
Brgds,
Mark Jensen