You are not logged in.

Dear visitor, welcome to krpano.com 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.

1

Sunday, December 29th 2019, 11:45am

new/ shorter syntax for multires image/ level-tags not working

when inserting a pano from a new 1.22-built-tour into an older tour (original some 1.19) the new syntax is not working. updating the swf/js-files doesn't have an effect.


<image> <cube url="l%l_%v_%h.jpg" multires="512,1024,2048,4096" /></image>

produces errors about missing "l0"-folders/files (they really don't exist...)

the errors disappear when changing the syntax to the old form.
As I use to update older tours with newer panos it would be good to be able to insert the xml-code directly without errors.
Maybe the error results because of something that I changed in tour.xml or vtourskin.xml?

cheers

2

Sunday, December 29th 2019, 2:30pm

generate a multires pano with one of the droplets and copy the code from the xml...

<cube url="mypano.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="..." />

3

Sunday, December 29th 2019, 2:49pm

that's exactly what I did.
Generating the pano produced following code:

Source code

1
<image><cube url="panos/baum.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,1024,2048,4096" /></image>


Then I copied this code to my other tour which produced the errors as described.
All errors referring to missing files in a "l0" subfolder. But there are no such subfolders, only - as always before - l1, l2 and l3.

When changing the to the old level-tags

Source code

1
2
3
4
5
6
7
8
9
10
11
<image type="CUBE" multires="true" tilesize="512">
			<level tiledimagewidth="4096" tiledimageheight="4096">
				<cube url="panos/baum.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
			</level>
			<level tiledimagewidth="2048" tiledimageheight="2048">
				<cube url="panos/baum.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
			</level>
			<level tiledimagewidth="1024" tiledimageheight="1024">
				<cube url="panos/baum.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
			</level>
		</image>


the tour works fine without errors.

EDIT: I used the multires-droplet of krpano 1.22.

4

Sunday, December 29th 2019, 3:11pm

ah...now it works. I don't know why but I think that after updating the swf/js-files I didn't delete the browser cache...

thanks