Tell me, why the use of galleys simpleviewer (offered in the post Is there a "drop-in" gallery that can be used with KRPano?) appear only preview, and the only border and a small 1 pixel dot? And the very strong bias toward the gallery top right corner.
Here is the code of the main file:
<krpano version="1.0.8.14" onstart="startup();">
<!-- vtour.xml template krpano tools version 1.0.8.14 -->
<action name="startup">
<!-- load the first scene -->
loadscene(get(scene[0].name), null, MERGE);
<!-- build thumbnails when there is more than one scene (remove the line below to remove the thumbnails) -->
if(scene.count GT 1, buildthumbs(); );
</action>
<!-- disable the default progress bar -->
<progress showload="none" showwait="none" />
<scene name="scene_1_11" title="1_11" onstart="" thumburl="panos/1_11.tiles/thumb.jpg">
<network downloadqueues="2" decodequeues="1"/><display fps="60" details="18" movequality="LOW" stillquality="HIGH" stilltime="0.250"/>
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto" />
<preview url="panos/1_11.tiles/preview.jpg" />
<image>
<cube url="panos/1_11.tiles/pano_%s.jpg" />
</image>
<plugin name="showgallery" url="showgallery.jpg" autopos="bottom,0,20" visible="true" alpha="1" onclick="action(showgallery);"/>
<plugin name="hidegallery" url="hidegallery.jpg" autopos="bottom,0,20" visible="false" alpha="1" onclick="action(hidegallery);"/>
<action name="showgallery">
freezeview(true);
set(plugin[showgallery].enable,false);
tween(plugin[showgallery].alpha,0,distance(1,0.15),,set(plugin[showgallery].visible,false));
set(plugin[hidegallery].enable,true);
set(plugin[hidegallery].visible,true);
tween(plugin[hidegallery].alpha,1,distance(1,0.15));
set(plugin[gallery].url,simpleviewer.swf?xmlDataPath=gallery.xml);
set(plugin[gallery].visible,true);
tween(plugin[gallery].alpha,1,distance(1,0.15));
</action>
<action name="hidegallery">
tween(plugin[gallery].alpha,0,distance(1,0.15),,action(closegallery));
</action>
<action name="closegallery">
set(plugin[gallery].visible,false);
freezeview(false);
set(plugin[hidegallery].enable,false);
tween(plugin[hidegallery].alpha,0,distance(1,0.15),,set(plugin[hidegallery].visible,false));
set(plugin[showgallery].enable,true);
set(plugin[showgallery].visible,true);
tween(plugin[showgallery].alpha,1,distance(1,0.15));
</action>
<plugin name="gallery" url="" visible="false" alpha="0" keep="true" />
</scene>
</krpano>
Here is the code file gallery.xml
<?xml version="1.0" encoding="UTF-8"?>
<simpleviewergallery maxImageWidth="480" maxImageHeight="480" textColor="0xFFFFFF" frameColor="0xFFFFFF" frameWidth="12" stagePadding="40" navPadding="40"
thumbnailColumns="3" thumbnailRows="3" navPosition="left" vAlign="center" hAlign="center" title="Helfferich Gallery" enableRightClickOpen="true"
backgroundImagePath="" imagePath="" thumbPath="">
<image imageURL="images/am_tigr_4.JPG"
thumbURL="thumbs/am_tigr_4.JPG"
linkURL="images/am_tigr_4.JPG"
linkTarget="_self">
<caption><![CDATA[]]></caption>
</image>
<image imageURL="images/am_tigr_5.JPG"
thumbURL="thumbs/am_tigr_5.JPG"
linkURL="images/am_tigr_5.JPG"
linkTarget="_self">
<caption><![CDATA[]]></caption>
</image>
<image imageURL="images/am_tigr_6.JPG"
thumbURL="thumbs/am_tigr_6.JPG"
linkURL="images/am_tigr_6.JPG"
linkTarget="_self">
<caption><![CDATA[]]></caption>
</image>
<image imageURL="images/am_tigr_1.JPG"
thumbURL="thumbs/am_tigr_1.JPG"
linkURL="images/am_tigr_1.JPG"
linkTarget="_self">
<caption><![CDATA[]]></caption>
</image>
<image imageURL="images/am_tigr_2.JPG"
thumbURL="thumbs/am_tigr_2.JPG"
linkURL="images/am_tigr_2.JPG"
linkTarget="_self">
<caption><![CDATA[]]></caption>
</image>
<image imageURL="images/am_tigr_3.JPG"
thumbURL="thumbs/am_tigr_3.JPG"
linkURL="images/am_tigr_3.JPG"
linkTarget="_self">
<caption><![CDATA[]]></caption>
</image>
</simpleviewergallery>