Sie sind nicht angemeldet.

Shanti

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

181

Samstag, 31. Oktober 2009, 07:55

Aksan: those errors are NOT with the thumbnail plugin, the thumbnail works perfectly here on chrome


ARNING: unknown action command: plugin[maps].pantospot
INFO: CameraControls v1.0 Author: Andrei Stanescu
ERROR: download of "http://www.ankamall.com.tr/ankamall3d/compass_system/panoramıiweblogo.png" failed
WARNING: unknown action command: smooth
WARNING: unknown action command: smooth
WARNING: unknown action command: smooth
WARNING: unknown action command: smooth

but those errors are not with the thumbs plugin

182

Samstag, 31. Oktober 2009, 10:19

This was from IE7

INFO: krpano 1.0.8 beta 8 (build 2009-06-15)
INFO: Flashplayer WIN 10,0,32,18 ActiveX
INFO: registered to: ulas aksan
INFO: CameraControls v1.0 Author: Andrei Stanescu
ERROR: download of "http://www.ankamall.com.tr/ankamall3d/compass_system/panoramıiweblogo.png" failed

If you go to the link,

http://www.ankamall.com.tr/ankamall3d/co…amıiweblogo.png

you will notice the error page shows this as a filename instead.

panoramıiweblogo.png

I wonder if the lettering is your issue?

Fabrice

Anfänger

Beiträge: 16

Wohnort: Paris

Beruf: Photographer

  • Nachricht senden

183

Montag, 2. November 2009, 12:15

my problem is solved...

in fact i tested my visit with the the swf in flash player... if a test it with a html page it works perfectly.....

184

Freitag, 13. November 2009, 10:40

Thumbnails are not visible

Hello to all,

I spent the last days working on implementing the scrolling thumbnails. But, whatever I do, it is not working. I can only see my panorama without thumbs.

I work with Mac and the browser is Safari.

I tried to make sure that the structure is the same as described.

When I open my panorama in Safari I get the following error message: file:///Users/wilfried/Pictures/Panoramen/Thumbnails/undefined.

Everything else including file:///Users/wilfried/Pictures/Panoramen/Thumbnails/as3Thumbsforkrpano.swf?TheXML=1.xml was found.


I really don't know what I do wrong and I would appreciate any help in solving my problem.

Thank you so much!!!!! Wilfried


This is my complete xml


tour.xml


<krpano version="1.0.8" onstart="action(Museum1);">


<plugin name="thumbnails"
url="as3Thumbsforkrpano.swf?TheXML=1.xml"
align="leftbottom"
keep="true"

/>



<memory maxmem="350" />
<network downloadqueues="" decodequeues="" />

<events onenterfullscreen=""
onexitfullscreen=""
/>

<progress showload="bar(lefttop,8%,6,3,3,solid, 0x000000,0xFFCC00,0xFFCC00)" showwait="none" />


<display fps="60"
details="32"
tessmode="0"
movequality="LOW"
stillquality="HIGH"

/>



<contextmenu fullscreen="true">
</contextmenu>

<autorotate enabled ="false"
waittime="3.0"
accel ="1"
speed ="2.5"
horizon ="0"
tofov ="NaN"
/>



<textstyle name="default" font="Times" fontsize="12" bold="true" italic="false"
textcolor="0" background="true" backgroundcolor="16777215" border="true" bordercolor="0"
alpha="1" blendmode="normal" effect=""
origin="cursor" edge="bottom" textalign="none" xoffset="0" yoffset="-3" showtime="0.1" noclip="true"
/>




<!-- showtext styles -->
<textstyle name="buttonstyle"
font="Arial" fontsize="10"
border="false" background="false"
textcolor="0xFFFFFF"
effect="glow(0x000000,0.7,4,2);dropshadow(2,45,0x000000,3,1);"
/>

<!-- plugins -->
<!-- button over effect -->
<action name="overeffect">
set(blendmode,add);

tween(plugin[in].scale,1);
tween(plugin[out].scale,1);
tween(plugin[left].scale,1);
tween(plugin[right].scale,1);
tween(plugin[up].scale,1);
tween(plugin[down].scale,1);
tween(plugin[home].scale,1);
tween(plugin[openfs].scale,1);
tween(plugin[closefs].scale,1);

tween(plugin[in].x,-160);
tween(plugin[out].x,-120);
tween(plugin[left].x,-80);
tween(plugin[right].x,-40);
tween(plugin[up].x,0);
tween(plugin[down].x,40);
tween(plugin[home].x,80);
tween(plugin[openfs].x,120);
tween(plugin[closefs].x,120);

</action>


<!-- button out effect -->
<action name="outeffect">

set(blendmode,screen);

tween(plugin[in].scale,0.5);
tween(plugin[out].scale,0.5);
tween(plugin[left].scale,0.5);
tween(plugin[right].scale,0.5);
tween(plugin[up].scale,0.5);
tween(plugin[down].scale,0.5);
tween(plugin[home].scale,0.5);
tween(plugin[openfs].scale,0.5);
tween(plugin[closefs].scale,0.5);

tween(plugin[in].x,-80);
tween(plugin[out].x,-60);
tween(plugin[left].x,-40);
tween(plugin[right].x,-20);
tween(plugin[up].x,0);
tween(plugin[down].x,20);
tween(plugin[home].x,40);
tween(plugin[openfs].x,60);
tween(plugin[closefs].x,60);

</action>


<!-- direction/zoom buttons -->
<plugin name="in" url="btn_plus.jpg" align="bottom" edge="bottom" y="20" x="-80" scale="0.5" blendmode="screen" ondown="set(movevectorz,-1);" onup="set(movevectorz,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="out" url="btn_minus.jpg" align="bottom" edge="bottom" y="20" x="-60" scale="0.5" blendmode="screen" ondown="set(movevectorz,+1);" onup="set(movevectorz,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="left" url="btn_left.jpg" align="bottom" edge="bottom" y="20" x="-40" scale="0.5" blendmode="screen" ondown="set(movevectorx,-1);" onup="set(movevectorx,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="right" url="btn_right.jpg" align="bottom" edge="bottom" y="20" x="-20" scale="0.5" scale="0.5" blendmode="screen" ondown="set(movevectorx,+1);" onup="set(movevectorx,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="up" url="btn_up.jpg" align="bottom" edge="bottom" y="20" x="-0" scale="0.5" blendmode="screen" ondown="set(movevectory,-1);" onup="set(movevectory,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="down" url="btn_down.jpg" align="bottom" edge="bottom" y="20" x="+20" scale="0.5" blendmode="screen" ondown="set(movevectory,+1);" onup="set(movevectory,0);" onover="action(overeffect);" onout="action(outeffect);" />

<!-- hotspot/home/info/fullscreen buttons -->
<plugin name="home" url="btn_home.jpg" align="bottom" edge="bottom" y="20" x="+40" scale="0.5" blendmode="screen" onhover="showtext(Move to Home, buttonstyle);" onover="action(overeffect);" onout="action(outeffect);" onclick="lookto(0.0,0.0,97);" />
<plugin name="openfs" url="btn_openfs.jpg" visible="true" align="bottom" edge="bottom" y="20" x="+60" scale="0.5" blendmode="screen" onhover="showtext(Enter Fullscreen, buttonstyle);" onover="action(overeffect);" onout="action(outeffect);" onclick="set(fullscreen,true);" />
<plugin name="closefs" url="btn_closefs.jpg" visible="false" align="bottom" edge="bottom" y="20" x="+60" scale="0.5" blendmode="screen" onhover="showtext(Exit Fullscreen, buttonstyle);" onover="action(overeffect);" onout="action(outeffect);" onclick="set(fullscreen,false);" />


<!-- fullscreen events -->
<events onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);"
onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"
/>

<!-- actions -->


<action name="Museum1">
loadpano(1.xml,null,KEEPALL,BLEND(2));
lookat(5,0,90);
wait(blend);
</action>

<action name="Museum2">
loadpano(2.xml,null,KEEPALL,BLEND(2));
lookat(0,0,90);
wait(blend);
</action>

<action name="Museum3">
loadpano(3.xml,null,KEEPALL,BLEND(2));
lookat(0,0,90);
wait(blend);
</action>

<action name="Museum4">
loadpano(4.xml,null,KEEPALL,BLEND(2));
lookat(0,0,90);
wait(blend);
</action>

<action name="Museum5">
loadpano(5.xml,null,KEEPALL,BLEND(2));
lookat(0,0,90);
wait(blend);
</action>


</krpano>





1.xml


<krpano version="1.0.8" encoding="utf-8" >

<images>
<thumboptions>
<thumbW>140</thumbW>
<thumbH>70</thumbH>
<ThumbOffset>0</ThumbOffset>
<InitialAlpha>0.2</InitialAlpha>
<ThumbPadding>10</ThumbPadding>
<ScrollSpeed>20</ScrollSpeed>
<ShownThumbs>5</ShownThumbs>
<font_type>Arial</font_type>
<font_size>20</font_size>
<font_alpha>1</font_alpha>
<font_color>0xffffff</font_color>

</thumboptions>
<pic>
<thumb>thumbs/01.jpg</thumb>
<panoToLoadXml>Museum1</panoToLoadXml>
<about>Panorama 1</about>
</pic>
<pic>
<thumb>thumbs/02.jpg</thumb>
<panoToLoadXml>Museum2</panoToLoadXml>
<about>Panorama 2</about>
</pic>
<pic>
<thumb>thumbs/03.jpg</thumb>
<panoToLoadXml>Museum3</panoToLoadXml>
<about>Panorama 3</about>
</pic>
<pic>
<thumb>thumbs/04.jpg</thumb>
<panoToLoadXml>Museum4</panoToLoadXml>
<about>Panorama 4</about>
</pic>
<pic>
<thumb>thumbs/05.jpg</thumb>
<panoToLoadXml>Museum5</panoToLoadXml>
<about>Panorama 5</about>
</pic>

</images>


<!-- the preview and pano image -->

<preview type="CUBESTRIP" url="cube_1.tiles/preview.jpg" />

<image type="CUBE" multires="true" tilesize="524">
<level tiledimagewidth="3144" tiledimageheight="3144">
<left url="cube_1.tiles/l3_l_%0v_%0h.jpg" />
<front url="cube_1.tiles/l3_f_%0v_%0h.jpg" />
<right url="cube_1.tiles/l3_r_%0v_%0h.jpg" />
<back url="cube_1.tiles/l3_b_%0v_%0h.jpg" />
<up url="cube_1.tiles/l3_u_%0v_%0h.jpg" />
<down url="cube_1.tiles/l3_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="1572" tiledimageheight="1572">
<left url="cube_1.tiles/l2_l_%0v_%0h.jpg" />
<front url="cube_1.tiles/l2_f_%0v_%0h.jpg" />
<right url="cube_1.tiles/l2_r_%0v_%0h.jpg" />
<back url="cube_1.tiles/l2_b_%0v_%0h.jpg" />
<up url="cube_1.tiles/l2_u_%0v_%0h.jpg" />
<down url="cube_1.tiles/l2_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="786" tiledimageheight="786">
<left url="cube_1.tiles/l1_l_%0v_%0h.jpg" />
<front url="cube_1.tiles/l1_f_%0v_%0h.jpg" />
<right url="cube_1.tiles/l1_r_%0v_%0h.jpg" />
<back url="cube_1.tiles/l1_b_%0v_%0h.jpg" />
<up url="cube_1.tiles/l1_u_%0v_%0h.jpg" />
<down url="cube_1.tiles/l1_d_%0v_%0h.jpg" />
</level>
</image>



</krpano>

185

Freitag, 13. November 2009, 11:39

Hi Wilfried,

Path problem maybe?
Try to use %SWFPATH% placeholder in your url...
%SWFPATH%
means path of the krpano.swf file. Asuming that the path (relative to krpano.swf) to the as3Thumbsforkrpano.swf is Thumbnails/as3Thumbsforkrpano.swf, the url would be: %SWFPATH%/Thumbnails/as3Thumbsforkrpano.swf

Quellcode

1
2
3
4
5
<plugin name="thumbnails" 
   	url="%SWFPATH%/Thumbnails/as3Thumbsforkrpano.swf?TheXML=1.xml" 
   	align="leftbottom"
   	keep="true"
  	/>


SAlut.

186

Freitag, 13. November 2009, 12:12

Hello Michel,

thanks for your answer. But I don`t understand the path problem. Here I make a photo for you.

Thanks for your help

Wilfried
»Wilfried« hat folgendes Bild angehängt:
  • 1.jpg

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Wilfried« (13. November 2009, 12:23)


187

Freitag, 13. November 2009, 13:16

Hi Wilfried,

OK, first time I use this plugin... Sure I will use it in future (and perhaps send some beers to Shanti ;-) )...

So, you have all the needed files in the same folder, then your plugin code was correct...

Quellcode

1
2
3
4
5
6
<plugin name="thumbnails" 
         url="as3Thumbsforkrpano.swf?TheXML=1.xml" 
         align="leftbottom"
         keep="true"
 
         />


I think the problem is that the plugin loads correctly but you do not see the thumbs... I think this is because your 1.xml is mal formed.... try erasing the <krpano version="1.0.8" encoding="utf-8" > line .

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
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="utf-8"?>

<images>
     <thumboptions>
         <thumbW>140</thumbW>
         <thumbH>70</thumbH>
         <ThumbOffset>0</ThumbOffset>
         <InitialAlpha>0.2</InitialAlpha>
         <ThumbPadding>10</ThumbPadding>
         <ScrollSpeed>20</ScrollSpeed>
         <ShownThumbs>5</ShownThumbs>
         <font_type>Arial</font_type>
         <font_size>20</font_size>
         <font_alpha>1</font_alpha>
         <font_color>0xffffff</font_color>
 
     </thumboptions>
 <pic>
 <thumb>thumbs/01.jpg</thumb>
 <panoToLoadXml>Museum1</panoToLoadXml>
 <about>Panorama 1</about>
    </pic>  
 <pic>
 <thumb>thumbs/02.jpg</thumb>
 <panoToLoadXml>Museum2</panoToLoadXml>
 <about>Panorama 2</about>
    </pic>
 <pic>
 <thumb>thumbs/03.jpg</thumb>
 <panoToLoadXml>Museum3</panoToLoadXml>
 <about>Panorama 3</about>
    </pic>
 <pic>
 <thumb>thumbs/04.jpg</thumb>
 <panoToLoadXml>Museum4</panoToLoadXml>
 <about>Panorama 4</about>
    </pic>
 <pic>
 <thumb>thumbs/05.jpg</thumb>
 <panoToLoadXml>Museum5</panoToLoadXml>
 <about>Panorama 5</about>
    </pic>
 
   </images>


Hope this solve the problem.

SAlut.

188

Freitag, 13. November 2009, 13:26

Hello Michel,
if I write <?xml version="1.0" encoding="utf-8"?> I become
1.xlm - XLM parser error: Error 2070 *confused*

Gruss
Wilfried

189

Freitag, 13. November 2009, 13:54

Hi,

Try erasing this line too... *sad* ;-)

SAlut.

190

Freitag, 13. November 2009, 15:54

Hello Michel,
Thanks but I get the same error message.

I changed the first line in the 1.xml - according to what you told me to do. I erased the first line completely, (<krpano version="1.0.8" encoding="utf-8" >) and I got the same error message parser error.

How do you think the first line should look like? I am clueless.....

Thank you, Wilfried *confused*

191

Freitag, 13. November 2009, 16:04

Hi,

Zitat

1.xlm - XLM parser error: Error 2070
I do not know what it mean...sorry...

I have tried your xml code and for me it works .... (the code I given here )

Make sure you have the last version rev7: Thumbnail Plugin UPDATES WILL BE POSTED HERE

Have you a link to the not working ?

SAlut.

192

Freitag, 13. November 2009, 16:19

Hi Michel,
I downloaded the latest verstion of rev7 but I had it already. Perhaps you are correct that I have to change the first line but I have no idea to what.

I don't have a link to the not working panorama. It is not online.

Thank you very much for all your help!!!! Perhaps somebody else has a different idea.

Sincerely, Wilfried

193

Freitag, 13. November 2009, 16:43

embed plugin in html

Does anyone know a way to use the scrolling thumbnails plugin so it can be used outside the krpano viewer, instead of on top of the pano - html/javascript code that will allow this plugin to interface with krpano?

Shanti

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

194

Freitag, 13. November 2009, 18:12

RE: embed plugin in html

Does anyone know a way to use the scrolling thumbnails plugin so it can be used outside the krpano viewer, instead of on top of the pano - html/javascript code that will allow this plugin to interface with krpano?


BobC; this plugin is only for krpano, but the JS code is surely doable with any pre-existing scroller, even those nice Jquery ones, a JS interface is provided with the krpano package, just check the syntax on how to load a pano from JS.

195

Freitag, 13. November 2009, 19:08

you could use the new beta9 and set a pano area so there is a magrin around the 360 and place the scrolling thumbs under it. it will still technically be on the krpano stage just not sitting on top of the pano image itself.

196

Sonntag, 15. November 2009, 10:02

Thumbnails plugin not working

Hi,

I have been using krpano and its plugin since a year. All the plugins work as expected. I downloaded the thumbnails plugin yesterday but I am not able to get it work. It does't give me any error and I guess the problem might be related to the paths. I am using krpano 1.0.8 beta and as3Thumbsforkrpano (rev 7).

You may check my krpano tour here:
http://panoview.co.nz/property_tour.php?…pe=3&nCodItem=0

krpano XML:
http://panoview.co.nz/inc/property_tours…dClProp=7-358-1

Thumbnails XML:
http://panoview.co.nz/inc/property_tours…dClProp=7-358-1

Here is the directory structure:
krpano.swf -http://panoview.co.nz/players/krpano/
as3Thumbsforkrpano.swf - http://panoview.co.nz/players/krpano/
PHP Script that generates Xml Files: http://panoview.co.nz/inc/property_tours/

I would really appreciate if anyone could help me trace the problem.

Best Regards
Praveen

197

Sonntag, 15. November 2009, 13:42

Hi Praveen,

After some scratching the head *confused* ;-) ...
The first problem was a wrong variable name... as3Thumbsforkrpano.swf?TheXMl= ... must be ?TheXML=
The second problem was the path to the xml...

Quellcode

1
2
<plugin name="thumbnails"
 	    	url="./inc/property_tours/%SWFPATH%as3Thumbsforkrpano.swf?TheXML=./inc/property_tours/getThumbnailXml.php"


SAlut.

198

Sonntag, 15. November 2009, 16:06

Thumbnails plugin not working

Hi Michael,

Thank you very much for throwing light on this. This was helpful and thumbnails are now visible. Could you help me in one more thing:

1. Thumbnails are not scrolling. They remain stationary.
2. I would like to place them about 15px above the navigation button at the bottom. What change do i need to make?

Best Regards
Praveen
Hi Praveen,

After some scratching the head *confused* ;-) ...
The first problem was a wrong variable name... as3Thumbsforkrpano.swf?TheXMl= ... must be ?TheXML=
The second problem was the path to the xml...

Quellcode

1
2
<plugin name="thumbnails"
 	    	url="./inc/property_tours/%SWFPATH%as3Thumbsforkrpano.swf?TheXML=./inc/property_tours/getThumbnailXml.php"


SAlut.

199

Sonntag, 15. November 2009, 20:15

Hi Praveen,

After more scratching the head *confused* ;-) ...
Your thumbnails plugin:

Quellcode

1
2
3
4
5
6
<plugin name="thumbnails" 
	url="./inc/property_tours/%SWFPATH%as3Thumbsforkrpano.swf?TheXML=./inc/property_tours/getThumbnailXml.php"
	x="" y="75"
	align="leftbottom" 
	keep="true"
/>

Your thumbnails xml:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
<?xml version="1.0" encoding="utf-8"?>
	<images>
		<thumboptions>
			<thumbW>150</thumbW>
			<thumbH>70</thumbH>
			<ScrollSpeed>10</ScrollSpeed>
			<ThumbPadding>10</ThumbPadding>
			<ShownThumbs>3</ShownThumbs>			
			<ThumbOffset>10</ThumbOffset>
			<ThumbOffsetY>230</ThumbOffsetY>
			......

The <ThumbOffsetY> is a little strange *confused* (for me ;-) )...
Taking the leftbottom as reference and <thumbH> attribute value to 70, if I want the thumbs appearing at 0,0 leftbottom, It seems that the <ThumbOffsetY> attribute must have a value of 230...
If <thumbH> value to 50, then <ThumbOffsetY> must have a value of 250...
I conclude that <ThumbOffsetY> must have a value of (300 - <thumbH> value)...
Perhaps Shanti would explain better this *smile* ...

SAlut.

200

Montag, 16. November 2009, 09:30

Thumbnails are not visible

Hello again,
As described in posting 184 my thumbnails are still not visible.
My understanding is that I have to put <?xml version="1.0" encoding="utf-8"?>
in 1.xml. Is this correct?
If I type this in my text editor, it is displayed in red as an error and I also get the following error message 1.xml-XML parser error: #2070
when I open the pano with the browser.

I would really happy if anyone could help me.

Best Regards
Wilfried

Ähnliche Themen