
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 |
<thumboptions> <thumbW>150</thumbW> <thumbH>70</thumbH> <InitialAlpha>0.2</InitialAlpha> <font_type>Arial</font_type> <font_size>20</font_size> <font_alpha>1</font_alpha> <font_color>0xffffff</font_color> </thumboptions> |
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.com
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

: https://pame.virtualtuur.comDieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tuur« (18. März 2009, 23:45)
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.com
Zitat
18 MArch 2009
Added a few more options requested on the krpano forum, check the gallery1.xml for this options.
A brief explanation of all the options:
thumbW: Width of the Thumbnails
thumbH: Height of the Thumbnails
ThumbPadding: Space Between the thumbnails
ShownThumbs: how many thumbs are shown at the same time
ThumbOffset: Unfortunately you will have to change this depending on how many thumbs you are showing to center them, and its a hit / miss thing, will try to make this better. for 5 thumbnails its -100 so just try it until it works to your liking.
InitialAlpha: transparency of the thumbnails
font_type: For the descriptive text
font_size: For the descriptive text
font_alpha: For the descriptive text
font_color: For the descriptive text
If you feel like it I do accept paypal donations on shantic@gmail.com![]()
Example XML
please add as many <pic> as thumbs needed.
where <about> is the text that is shown on top of the thumbnail
<panoToLoadXml> is the action to be called from your krpano XML
![]()
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<?xml version="1.0" encoding="utf-8"?> <images> <thumboptions> <ScrollSpeed>25</ScrollSpeed> <thumbW>140</thumbW> <ThumbPadding>20</ThumbPadding> <ShownThumbs>5</ShownThumbs> <ThumbOffset>-100</ThumbOffset> <thumbH>70</thumbH> <InitialAlpha>.2</InitialAlpha> <font_type>Wide Latin</font_type> <font_size>15</font_size> <font_alpha>1</font_alpha> <font_color>0xffffff</font_color> </thumboptions> <pic> <thumb>../thumbs/nostalgia.jpg</thumb> <panoToLoadXml>s1</panoToLoadXml> <about><![CDATA[Text To Show]]></about> </pic> </images>
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comTuur: check this new version
Zitat
19 MArch 2009
Fixed: Scroll end bug, now it will stop at the end of the thumbnails
Fixed: Loaded text now respects the XML optionf for font
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Shanti« (26. März 2009, 11:01)

Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<images> <thumboptions> <ScrollSpeed>15</ScrollSpeed> <thumbW>120</thumbW> <ThumbPadding>15</ThumbPadding> <ShownThumbs>4</ShownThumbs> <ThumbOffset>-100</ThumbOffset> <thumbH>60</thumbH> <InitialAlpha>0.2</InitialAlpha> <font_type>Geneva</font_type> <font_size>15</font_size> <font_alpha>1</font_alpha> <font_color>0xffffff</font_color> </thumboptions> |
: https://pame.virtualtuur.comDieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Shanti« (26. März 2009, 11:02)