the tilesize should be 512px!

  • I put on line on my website in the last 5 year more then 150 pano 360x180 and more then 50 HDimage.
    Now I'm working to pass to the HTML5 version, and I had the fatal error: "No HTML5 compatible image available"
    I'm quite sure that the problem is the tilesitze: in the past I used values like 700x700 720x720 , 800x800 , 890x890 , 900x900... I'm right ?
    This "problem" will come back with the next 1.17 final version?
    I'll have to re-upload all my photos ? *unsure*

    . xml code
    <krpano version="1.16">

    <prerelease watermark="false" />

    <include url="skin/defaultskin.xml" />

    <view hlookat="147" vlookat="30" maxpixelzoom="1.0" fovmax="150" limitview="auto" />

    <preview type="CUBESTRIP" url="pano123.tiles/preview.jpg" />

    <image type="SPHERE" multires="true" tilesize="625">
    <level tiledimagewidth="10000" tiledimageheight="5000">
    <sphere url="pano123.tiles/l4_%0v_%0h.jpg" />
    </level>
    <level tiledimagewidth="5000" tiledimageheight="2500">
    <sphere url="pano123.tiles/l3_%0v_%0h.jpg" />
    </level>
    <level tiledimagewidth="2500" tiledimageheight="1250">
    <sphere url="pano123.tiles/l2_%0v_%0h.jpg" />
    </level>
    <level tiledimagewidth="1250" tiledimageheight="625">
    <sphere url="pano123.tiles/l1_%0v_%0h.jpg" />
    </level>
    </image>

    </krpano>

    and .html code


    ....
    <td colspan="10" ><div align="center"></div>

    <script src="swfobject/krpano_emb.js"></script>

    <div id="pano" style="width:100%; height:100%;">
    <noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
    <script>
    embedpano({swf:"swfobject/krpano_emb.swf", xml:"pano123.xml", target:"pano", html5:"auto", passQueryParameters:true});
    </script>
    </div>
    .......

  • Ciao Poalpina,
    how do you get the tiles? Don't you use krpanotools?
    I assume that you are using the new JS (in preview) so to test multi resolution on Html5, and I see that your image type is SPHERE,
    and not CUBE as default for the krpanotools output.
    It could be that problem, and not the tile size... (Klaus says that is "preferred to have that size, not that is nota allowed)...in this case you have to reprocess all your images ... *sad*
    btw I reprocess about 250 panos last week to make them compatible with html5... and it was not so bad *wink* krpanotools makes it all automatic... and where I had actions and
    specific layers, well yes, had to copy/paste a lot.

    Toni

  • Ciao Tony

    "and I see that your image type is SPHERE,
    and not CUBE as default for the krpanotools output...
    in this case you have to reprocess all your images"

    Thanks a Lot
    Now all is clear,

    "Only cubical- and flat-multiresolution panos are supported at the moment!" by Klaus

    Maybe I can take as good the HD partial panos,
    those were flat

    "I reprocess about 250 panos last week "
    really , How long did it take you ?
    first of all to upload on the net all panos ?

    Matteo

    Però a Te il grazie lo scrivo anche nella nostra lingua:
    grazie


  • "I reprocess about 250 panos last week "
    really , How long did it take you ?
    first of all to upload on the net all panos ?


    ehm, a week *g*
    while uploading a project I was reprocessing the next one.
    But it took a lot of time to correct stupid mistakes.
    Some old projects where containing some unacceptable code: all due the fact that two terms can't be written without a space.
    EX.:

    Code
    <layer name="xyz" visible="false"align="center" />


    there is no space between visible="false" and align="center".
    This is ok for flash but gives fatal error on html5.
    Sometimes very difficult to find *cry*

    maybe someone can explain me how to debug xml for html5
    thanks in advance

    Toni

  • Thank you Alexey!
    dropping the xml onto Chrome gives the error and, most important, the number of the line and column where the error is.
    I was just using the iPad/iPhone simulator to test html5 and sometimes Safari with defined user agent, but then had to check it manually.

    Thanks! *thumbsup*

    Toni

Participate now!

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