Problem with graphics


  • Hey Guys!


    This is my first post here, so thank you for these great place :) I'm Michal and I'm from Poland. I just switched from FPP to Krpano.
    Some of my work you can see here:
    http://panotuts.com/portfolio.html

    I have a problem with my first tour in KRpano.
    Link:
    http://fooz.pl/krpano/tour.html

    On the right side I added a menu which will contain some categories and images. I added two group of images "min-estetyka" and "min-energo":


    Only the first group "min-estetyka" is visible, the other one "min-energo" is not. What did I do wrong?

    Thanks in advance!
    Michal

  • Hi,

    the problem are theses names here:

    Quote

    <layer name="3" ...
    <layer name="5" ...
    <layer name="7" ...
    <layer name="10" ...

    When using numbers as names, then these numbers will be interpreted as index-values, and they can refer to other elements.

    See also here:
    https://krpano.com/docu/xml/#name-notes

    Numbers as names should be only used for read-access, e.g. when looping to a set of elements.

    Best regards,
    Klaus

  • Thank You Klaus!

    I have one more question.

    As I said, I just switched from Fpp. And in FPP when I wanted to load a new pano by clicking a hotspot I just have to write onClick="loadpano(panos/pano1)" and that's all.

    How do I do it in krpano? I found in documentation that loadpano function needs and xml file. Does it mean that each pano has to have a separate xml file? If yes, could you show an example of such file?

    I'm a little confused...

Participate now!

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