Sie sind nicht angemeldet.

1

Samstag, 3. Dezember 2011, 17:54

presentation of pictures

Hello,

I was testing the MAKE PANO (FLAT) droplet for presentation of my pictures.
this test

As I like the result, I would like to navigate between pictures.
How can I do this ?

- I can add a plugin with an action to load another xml. On every xml the on loadpano-xml has name has to be changed.
- Is there a code to just to say next ..?

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

2

Sonntag, 4. Dezember 2011, 15:43

he Servaas,

when u use scene's ou can do:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 <action name="nextscene">
    if(%1 != findnext, set(i,0));
    txtadd(scenexml,'<krpano>',get(scene[%i].content),'</krpano>');
    if(scenexml == xml.content,
       inc(i);
       if(i == scene.count, set(i,0));
       loadscene(get(scene[%i].name), null, MERGE, BLEND(1));
      ,
       inc(i);
       if(i LT scene.count, nextscene(findnext));
      );
</action>
 
<action name="prevscene">
    if(%1 != findnext, sub(i,scene.count,1));
    txtadd(scenexml,'<krpano>',get(scene[%i].content),'</krpano>');
    if(scenexml == xml.content,
       dec(i);
       if(i LT 0, sub(i,scene.count,1));
       loadscene(get(scene[%i].name), null, MERGE, BLEND(1));
      ,
       dec(i);
       if(i GE 0, prevscene(findnext));
      );
</action>


hope it helps

Tuur *thumbsup*

3

Montag, 5. Dezember 2011, 10:27

Hi Tuur,

Thanks for the tip.
I'll check it out today !

=servaas=