Using Zoomify Tiles with HTML5 krpano 1.18

  • Hello,


    I have 110 panoramas containing about 650,000 Zoomify tiles that I would like to use with the krpano HTML5 viewer version 1.18 (or greater). I could recreate them, but that would be a painful exercise as my bandwidth to the web server is not particularly high. My first attempt was to create an xml <level> file that used the %g notation documented up to version 1.16 and shown in an example from klaus.krpano for version 1.0.8 beta. This didn't work, and it looks like with version 1.18 %g has lost its special meaning, since it wasn't being expanded in the "loading failed" message, whereas %u and %v were expanded just fine. It's also ominous that %g has disappeared from the documentation for 1.18. So how does one use Zoomify tiles with the HTML5 viewer? What is the status of %g?

    Thank you,
    Don Craig

    xml generated by MAKE PANO (MULTIRES) droplet to use krpano tiles:

    <krpano version="1.18">

    <!-- the skin -->
    <include url="skin/defaultskin.xml" />

    <!-- view settings -->
    <view hlookat="0" vlookat="0" maxpixelzoom="1.0" fovmax="150" limitview="auto" />

    <preview url="LockeLaneAutumn_a.tiles/preview.jpg" />

    <image type="CYLINDER" hfov="1.00" vfov="0.200446" voffset="0.00" multires="true" tilesize="512" progressive="true">
    <level tiledimagewidth="87834" tiledimageheight="17606">
    <cylinder url="LockeLaneAutumn_a.tiles/l6/%v/l6_%v_%h.jpg" />
    </level>
    <level tiledimagewidth="43918" tiledimageheight="8804">
    <cylinder url="LockeLaneAutumn_a.tiles/l5/%v/l5_%v_%h.jpg" />
    </level>
    <level tiledimagewidth="22016" tiledimageheight="4414">
    <cylinder url="LockeLaneAutumn_a.tiles/l4/%v/l4_%v_%h.jpg" />
    </level>
    <level tiledimagewidth="11008" tiledimageheight="2208">
    <cylinder url="LockeLaneAutumn_a.tiles/l3/%v/l3_%v_%h.jpg" />
    </level>
    <level tiledimagewidth="5504" tiledimageheight="1104">
    <cylinder url="LockeLaneAutumn_a.tiles/l2/%v/l2_%v_%h.jpg" />
    </level>
    <level tiledimagewidth="2752" tiledimageheight="552">
    <cylinder url="LockeLaneAutumn_a.tiles/l1/%v/l1_%v_%h.jpg" />
    </level>
    </image>

    </krpano>

    Hand edited version to use Zoomify tiles generated from the same image:

    <krpano version="1.18">

    <!-- the skin -->
    <include url="skin/defaultskin.xml" />

    <!-- view settings -->
    <view hlookat="0" vlookat="0" maxpixelzoom="1.0" fovmax="150" limitview="auto" />

    <preview url="LockeLaneAutumn_a.tiles/preview.jpg" />

    <image type="CYLINDER" hfov="1.00" vfov="0.200446" voffset="0.00" multires="true" tilesize="256" progressive="true" baseindex="0">
    <level tiledimagewidth="87834" tiledimageheight="17606">
    <cylinder url="LockeLaneAutumn_a/TileGroup%g/9-%u-%v.jpg" />
    </level>
    <level tiledimagewidth="43918" tiledimageheight="8804">
    <cylinder url="LockeLaneAutumn_a/TileGroup%g/8-%u-%v.jpg" />
    </level>
    <level tiledimagewidth="22016" tiledimageheight="4414">
    <cylinder url="LockeLaneAutumn_a/TileGroup%g/7-%u-%v.jpg" />
    </level>
    <level tiledimagewidth="11008" tiledimageheight="2208">
    <cylinder url="LockeLaneAutumn_a/TileGroup%g/6-%u-%v.jpg" />
    </level>
    <level tiledimagewidth="5504" tiledimageheight="1104">
    <cylinder url="LockeLaneAutumn_a/TileGroup%g/5-%u-%v.jpg" />
    </level>
    <level tiledimagewidth="2752" tiledimageheight="552">
    <cylinder url="LockeLaneAutumn_a/TileGroup%g/4-%u-%v.jpg" />
    </level>
    </image>

    </krpano>

  • Hi,

    It's also ominous that %g has disappeared from the documentation for 1.18. So how does one use Zoomify tiles with the HTML5 viewer? What is the status of %g?

    Zoomify was (and still is) only supported in the krpano Flash viewer.

    Adding full support (=that means by loading and parsing the Zoomify ImageProperties.xml) is not planed for HTML5, but I will considering adding support for the %g tile grouping url-placeholder.

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!