You are not logged in.

servaas

Intermediate

  • "servaas" started this thread

Posts: 218

Location: Belgium

  • Send private message

1

Tuesday, March 29th 2011, 1:57pm

simpleviewer in Krpano

Hello,

I saw an example with a simpleviewer gallery integrated in a krpano virtual tour.

Actually I'm curious how this has been integrated in the Krpano tour .. :-)
What's the action behind the 'photography' button to open the simpleviewer gallery ?

Thanks for you reaction !

Cheers,
=servaas=

Asperix

Beginner

Posts: 31

Location: Italy

Occupation: Webdesigner

  • Send private message

2

Tuesday, March 29th 2011, 2:45pm

Hello...

The code simpleviewer pro is this:



Source code

1
2
<simpleviewerGallery imagePath="imgallery/"	thumbPath="imgallery/thumb/"	useFlickr="false"	flickrUserName=""	flickrTags=""	enableRightClickOpen="false"	flickrTitleFontSize="24"	flickrTitleFontColor="#FFFF00"	imageNavStyle="CURSOR"	thumbNavStyle="TRIANGLE"	imageNavPadding="0"	dropShadowStrength="0"	useFixedLayout="true"	lockTopStack="false"	lockBottomStack="false"	showDownloadButton="false"	showNavButtons="false"	showAutoPlayButton="false"	showAudioButton="false"	buttonBarHAlign="RIGHT"	floatButtonBar="false"	buttonBarX="400"	thumbPosition="BOTTOM"	thumbColumns="6"	thumbRows="1"	thumbVAlign="CENTER"	thumbFrameStyle="ROUNDED"	thumbHoverFrameWidth="2"	thumbFrameWidth="1"	thumbFrameColor="FF6600"	imageFrameStyle="ROUNDED"	frameWidth="1"	frameColor="FFFFFF"	imageAreaWidth="700"	imageAreaX="80"	thumbFrameHoverColor="FFFFFF"	imageDropShadow="false"	thumbAreaY="560"	thumbAreaX="60"	captionX="80"	titleWidth="450"	thumbWidth="90"	thumbNavColor="FF6600"	thumbNavPadding="30"	buttonBarPadding="0"	showOpenButton="false"	showFullscreenButton="false"	showToolTips="false"	imageAreaY="10"	titleX="0"	titleY="0"	captionY="520"	captionPosition="BOTTOM"	floatCaption="false"	captionTextAlignment="CENTER"	captionWidth="700"	captionHeight="40"	captionPadding="2"	imageNumberFontSize="13"	captionBackOpacity="0"	captionDropShadow="true"	thumbNavHoverColor="FFFFFF"	stageHPadding="0"	stageVPadding="0"	imageTransitionType="SLIDE"	imageTransitionTime="0.8"	thumbDropShadow="false"
>




The code for the button is this:



Source code

1
2
3
4
	<plugin name="gallery" url="imgallery/simpleviewer.swf?galleryURL=gallery.xml" visible="false" keep="true" refreshrate="auto" zorder="2"	align="center" edge="center" y="-60" />
	<plugin name="attfg" align="bottom" x="-220" y="10"	url="d:/kr/skin/tasti.png" crop="570|0|90|30" onovercrop="570|30|90|30"	blendmode="normal" onhover="showtext(get(strings[get(lang)].menu14));"	onclick="showgallery();" zorder="0" keep="true" />

	<action name="showgallery">if(photog == false, gallery-si(); , gallery-no(); );</action>	<action name="gallery-si">set(plugin[attfg].zorder,10); set(photog,true); set(plugin[gallery].visible,true); fondo1();</action>	<action name="gallery-no">set(plugin[attfg].zorder,0); set(photog,false); set(plugin[gallery].visible,false); fondo0();</action>




Best Regards
Panoramiche dall'Italia -> Virtual Tour 360°

servaas

Intermediate

  • "servaas" started this thread

Posts: 218

Location: Belgium

  • Send private message

3

Tuesday, March 29th 2011, 3:03pm

THANK YOU !

Thanks a ton for that ! Really !

I'll check it out !

Greetz,
=servaas=

Panomate

Beginner

Posts: 43

Location: Wohlen

Occupation: Selbständig

  • Send private message

4

Friday, April 1st 2011, 1:26pm

Hi Asperix

I've heard that the Pro version of the Simple Viewer doesn't function in KRPano. Does it need a change of Code, or does is works just fine?
Need to buy the license and I don't want to buy something which isn't functioning...

Thanks
Rienus

5

Friday, April 1st 2011, 5:59pm

This thread discusses simpleviewer quite a bit.

Need the PRO version to embeded Simple Viewer in krpano!

Hope that helps.

Panomate

Beginner

Posts: 43

Location: Wohlen

Occupation: Selbständig

  • Send private message

6

Saturday, April 2nd 2011, 12:04am

Hi Jarredga

Thanks; that gives me the answer I was looking for right now. Now I will order the gallery; let's see if I'm intelligent enought being able to integrate it.

Greeting
Rienus

servaas

Intermediate

  • "servaas" started this thread

Posts: 218

Location: Belgium

  • Send private message

7

Saturday, April 2nd 2011, 8:33pm

Good luck !

I'm almost there :-)