Sie sind nicht angemeldet.

1

Donnerstag, 7. November 2013, 12:38

Multiple Simpleviewer galleries in one pano.

Hey,

I was wondering if it's possible to make multiple galleries using Simpleviewer inside 1 pano.

I used the code :

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
26
27
28
29
30
31
32
33
34
<!-- Gallery 1 -->
	
	<plugin name="gallery1" url="" visible="false" />	
	
	<action name="showgallery">
		set(hotspot[spot74].onclick,hidegallery(););
		<!-- load the simpleviewer -->
		set(plugin[gallery1].url,simpleviewer.swf?xmlDataPath=gallery.xml);
		set(plugin[gallery1].visible,true);
	</action>
	
	<action name="hidegallery">
		set(hotspot[spot74].onclick,showgallery(););
		<!-- hide simpleviewer -->
		set(plugin[gallery1].visible,false);
	</action>
	
	
	<!-- Gallery 2 -->
	
	<plugin name="gallery2" url="" visible="false" />	
	
	<action name="showgallery2">
		set(hotspot[spot75].onclick,hidegallery2(););
		<!-- load the simpleviewer -->
		set(plugin[gallery2].url,simpleviewer2.swf?xmlDataPath=gallery2.xml);
		set(plugin[gallery2].visible,true);
	</action>
	
	<action name="hidegallery2">
		set(hotspot[spot75].onclick,showgallery2(););
		<!-- hide simpleviewer -->
		set(plugin[gallery2].visible,false);
	</action>


I have 2 different xml's and folders for each gallery, they both work well.
But whenever I open one gallery, then close it, the 2nd one is not working(A big yellow rectangle pops up where the thumbs should be).
Each time I use click on hotspot to open one of the galleries, the 2nd one breaks down.

Any ideas?:)
Thanks in advance.

!Edit

I am using the xml provided by Klaus here:

Is there a "drop-in" gallery that can be used with KRPano?

2

Donnerstag, 7. November 2013, 19:02

I located the source of the problem.

The main gallery swf file, is bound to "gallery.xml" which means i cant use copy of gallery.xml just by renaming.

I have been trying to separate them in 2 different folders(names 1 and 2), but somehow it still is not working.

Quellcode

1
set(plugin[gallery2].url,2/simpleviewer.swf?xmlDataPath=gallery.xml);


With this code it just acts like there is no file there.

Any ideas?:)
Thanks in advance.

3

Donnerstag, 7. November 2013, 22:39

HI!
you can use this xml gallery plugin
More advanced image gallery

it's possible to add more than one gallery in one scene and for each scene

Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

4

Dienstag, 12. November 2013, 23:53

Andrey,

Really like how you have done the image pop-up with additional images.

James

Andrey. Is it for sale?

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Booker239« (13. November 2013, 00:12)


5

Donnerstag, 14. November 2013, 01:29

Hi!
yep, take a look here http://krpano.com/forum/wbb/index.php?pa…42193#post42193

best regards
Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

6

Samstag, 16. November 2013, 17:39

hotspot

HI,

I have tried to put all the plugin files into one folder.
All works fine apart from thumbnailsframe.png that i can not change the destination.

Ps Great Plugin

Regards

James

7

Samstag, 16. November 2013, 19:30

Hi!
take a look http://krpano.com/forum/wbb/index.php?pa…43547#post43547
There is answer

Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN