I have a large number of panos I want to put up on my site so I thought it was a good time to dig into the templates. Mostly it seams pretty sensible.
One problem I am having is when I change the destination path of the XML it does not update the path to the tiles. If I change the orginal path in multires.config (krpanotools 1.0.8.15) from
Zitatxmlpath=%INPUTPATH%/%BASENAME%.xml
to
Zitatxmlpath=
%BASENAME%/krpano/xml/%BASENAME%.xml
it does as expected and creates the directories and puts the xml in the directory but the xml is still pointing at the tiles as if they were in a local subdirectory not where I defined they should be in multires.config.
ie the xml is looking for the files in
Zitat<cube url="foo.tiles/mres_%s/l3/%v/l3_%s_%v_%h.jpg" />
rather than
Zitat<cube url="../../foo.tiles/mres_%s/l3/%v/l3_%s_%v_%h.jpg" />
Is there another place where I can define the path to the tiles for the generated xml?
Another unexpected behavior I noticed is that when I changed the path to the xml the path to the generated HTML changed as well even though I did not change it in multires.config . The HTML seamed to follow the XML even though that was not the path set in the multires.config.
The reason I am organizing it this way is for quick modification later. I wanted to have a directory of just my xmls so I could use a batch editor on it if needed rather than digging through directories finding them, modifying them and then putting them back in the correct subdirectory. I also want all the files looking at the same interface graphics and krpano.swf so I can replace one file and have all of my panos on the site take advantage of the latest version.