You are not logged in.

1

Thursday, November 7th 2013, 12:38pm

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 :

Source code

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

Thursday, November 7th 2013, 7:02pm

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.

Source code

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.

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

3

Thursday, November 7th 2013, 10:39pm

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

Booker239

Beginner

Posts: 8

Location: North West, UK

  • Send private message

4

Tuesday, November 12th 2013, 11:53pm

Andrey,

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

James

Andrey. Is it for sale?

This post has been edited 1 times, last edit by "Booker239" (Nov 13th 2013, 12:12am)


Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

5

Thursday, November 14th 2013, 1:29am

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

Booker239

Beginner

Posts: 8

Location: North West, UK

  • Send private message

6

Saturday, November 16th 2013, 5:39pm

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

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

7

Saturday, November 16th 2013, 7:30pm

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