Sie sind nicht angemeldet.

1

Sonntag, 5. Juli 2009, 20:03

GUI JATC 2.2.0 giving problems with krpano 1.0.8beta 8

Anyone tried JATC the gui for krpano available here http://krpano.com/externals/

I am trying JATC 2.2.0 with krpano 1.0.8 beta 8(latest)
The tour has the following problem

1. it creates thumbnails but does not show thumbnails
2. it complains about navigation button missing but they are there in the common folder.
3 the tour does not go full screen at all I cant understand why

is 2.2.0 able to work with krpano beta 8?

I even tried using the older version which is in the JATC directory (krpano 1.0.5)
I still have the same as above problem.

Could you give some pointers to make this work.

2

Montag, 6. Juli 2009, 06:22

This is the code of my html file generated by JATc

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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <title>JATC: krpano panorama</title>
</head>
<body>
<script type="text/javascript" src="swfobject/swfobject.js"></script>
<script type="text/javascript" src="swfobject/swfmacmousewheel.js"></script>
 <table>
 <tr><td>
   <div id="thumbgallery">Javascript not activated or Flash Player not up to date</div>
   <script type="text/javascript">
      var gal = new SWFObject("ThumbGallery.swf", "main", "100","800", "6.0.65", "#282828");
          gal.addVariable("relativePath", ".");
          gal.useExpressInstall('swfobject/expressinstall.swf');
          if (gal.write("thumbgallery")){ var macmousewheel = new SWFMacMouseWheel(gal); }
   </script>
 </td>
 <td>
<div id="krpano">This content requires <a href="http://www.adobe.com/go/getflashplayer/">Adobe Flash Player</a> and a browser with JavaScript enabled.<br />
<script type="text/javascript">
       var so = new SWFObject("krpano.swf", "krpano", "1000", "800", "9.0.28");
       so.addVariable("pano", "image_003_equi.xml");
       so.addParam("allowFullScreen","false");
       so.useExpressInstall('swfobject/expressinstall.swf');
       so.addParam("allowScriptAccess","sameDomain");
          if (so.write("krpano")){ var macmousewheel = new SWFMacMouseWheel(so); }
 </script>
 </td></tr>
 </table>
<!-- interface code -->
<script type="text/javascript">
// <![CDATA[
function krpano() 
{
return document.getElementById("krpano");
}
// ]]></script>
</body></html>


This is he code of 1 of the xml (all have the same 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="iso-8859-1"?>
<krpano
  version="1.0">
  <network
downloadqueues="2"
decodequeues="1" />
  <display
fps="60"
details="12"
movequality="12"
stillquality="12"
stilltime="12" />
  <view
hlookat="0.0"
vlookat="0.0"
fov="90.0"
fovmin="60.0"
fovmax="150.0"
fisheye="0.35"
fisheyefovlink="0.5" />
  <preview
url="prv_image_001_equi.jpg" />
  <image
type="SPHERE">
<sphere
  url="image_001_equi.jpg" />
  </image>
  <!--hotspots-->


<hotspot
name="hs_image_001_equi_0"
visible="true"
fillcolor="0xFFFFFF80"
fillalpha="3.0"
borderwidth="2.0"
bordercolor="0xFF000000"
borderalpha="3"
onclick="loadpano(image_003_equi.xml);">
<point
  ath="35.3"
  atv="6.0" />
<point
  ath="39.3"
  atv="6.0" />
<point
  ath="39.3"
  atv="10.0" />
<point
  ath="35.3"
  atv="10.0" />

</hotspot>
</krpano>


This is the thumbnail.xml code

Quellcode

1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="iso-8859-1"?>
<thumbgallery output="krp" controller="jatc" color="0x408080" textcolor="0x000080" font="arial" position="L">
  <thumbs width="200" height="100" alpha="70">
	<thumb src="thumb_image_003_equi.jpg" link="image_003_equi.xml" pan="0" tilt="0" title="Titel" />
	<thumb src="thumb_image_001_equi.jpg" link="image_001_equi.xml" pan="0" tilt="0" title="Titel" />
  </thumbs>
  <controls fwd="common/nav_right.png" rev="common/nav_left.png" w="36" h="36" />
</thumbgallery>


Do you find any problem with the code?
Need help in getting my 1st tour with thumbnails

3

Montag, 6. Juli 2009, 07:44

so.addParam("allowFullScreen","false");
set this true if you want fullscreen.

4

Montag, 6. Juli 2009, 08:19

Ok done that now it open full screen but the thumbnails still don't show
any help with the thumbnails?

Thanks

5

Montag, 6. Juli 2009, 20:46

I changed the maxfov from 150 to 120 & that shows the thumbnails now, strange that why would fov effect the thumbnails.
But now thumbnails show but when clicked it does not change the view, seems some syntax error in hyper linking.

6

Montag, 6. Juli 2009, 21:48

try closing the hotspot brackets with /> instead of >

Looking at your examples, it should be located right behind the onclick commands

Did your initial pano load for you? When I replaced my closing bracket on a tour of mine with just the > I got a parsing error.



Jarredja