You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Wednesday, February 11th 2015, 12:24am

Is there a way to switch off automatic url correction from krpano?


Is there such way from subject?

I load xml by loadpano('http://localhost/ajax/pano.xml') function with below content:

<image type="CUBE" multires="true" tilesize="512" progressive="true">
<level tiledimagewidth="512" tiledimageheight="512">
<cube url="%$sv.tilespath%/panoname/l1_%s_%v_%h.jpg" />

Variable sv.tilespath=""

After automatic correction url address becomes "http://localhost/ajax/"

But I dont need "http://localhost/ajax/" prefix in result url.

Thanks in advance


Friday, February 13th 2015, 9:39am

And "" is not a relative URL. Why is it supposed to be a relative to "http://localhost/ajax"?


Friday, February 20th 2015, 11:05am


the 'url' attribute is a special one - it will be modified during xml loading.

When the value of the url attribute in the xml is a relative one, then the relative path of the xml will be added.

See here:

The resolving of the %$var% happens later on the loading request, but at this point the path was already added.

I will consider adding a special handling for the next releases here - when the value of $var will be an absolute path, then the part before that variable will be stripped away.

Best regards,


Tuesday, February 24th 2015, 1:36pm



Thursday, March 5th 2015, 7:47pm


this works now in the new 1.18.3 version.

Best regards,


Thursday, April 2nd 2015, 3:04pm

Thanks, Klaus