Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Mittwoch, 13. März 2013, 12:52

Simple Image Gallery - how to implement a different gallery for each pano view

Hi All

Am building a virtual tour of a series of rooms for a client. I want to have a simple gallery in each room which will display 5 images.

Been trying out : http://krpano.com/examples/10815/example…agegallery.html

Which works fine for what I want to do.

My question is what is the best way to implement the gallery so that a different set of images are displayed for each room.

Thanks in advance

Tim

bionicdroid

Anfänger

Beiträge: 4

Wohnort: Portugal - Porto

Beruf: Front-end Programmer

  • Nachricht senden

2

Mittwoch, 13. März 2013, 14:57

If you have use the droplet to make a virtual tour find the comment line when says "place your scene hotspots here" in each scene name.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
<scene name="scene_01">
<!-- place your scene hotspots here -->
<hotspot name="my_spot_a1"
	....
/>
</scene>

<scene name="scene_02">
<!-- place your scene hotspots here -->
<hotspot name="my_spot_b1"
	....
/>
</scene>
Carlos Ribeiro

3

Mittwoch, 13. März 2013, 15:09

Hi!
Take a look at this gallery More advanced image gallery

Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

4

Mittwoch, 13. März 2013, 15:33

Re: Simple Gallery

Thanks for the replies.

Andrey, I have bought your new galllery (nice work), which I will use at some point, but for now I just need a very (very) simple gallery.

Bionicdroid, my issue is how to have multiple instances of the gallery, may be a way to create them (similar to Andrey's Gallery) and then call them within each pano.

cheers

Tim

poll

Anfänger

Beiträge: 12

Wohnort: Kenya

Beruf: Software developer

  • Nachricht senden

5

Freitag, 15. März 2013, 13:58

Re: Simple Gallery

Using the same concept of http://krpano.com/examples/10815/example…agegallery.html do the following.


<krpano version="1.0.8.14" onstart="slide_show();">

<!-- include image thumbbar xml script code -->
<include url="thumbbar.xml" />
.........
.........

<action name="slide_show">

<!--
syntax:
create_thumbbar(numberofimages, align, orientation, x,y, width,height, border);

numberofimages ... number of images
align ... position of the imagebar (lefttop,left,leftright,top,center,bottom,righttop,right,bottom)
orientation ... orientation of the imagebar (h or v)
x,y ... position offsets
width,height ... thumbnail imagesize
border ... border around images
-->

create_thumbbar(5, left, v, 10,10, 70,40, 3);

thumbbar_addimage('images/one.jpg');
thumbbar_addimage('images/two.jpg');
thumbbar_addimage('images/three.jpg');
thumbbar_addimage('images/four.jpg');
thumbbar_addimage('images/five.jpg');

</action>

<!-- Place the action of creating slide_show in every scene. Change only the thumbba_addimage(); parameter. Load different images there depending on the scene you are in.
e.g replace ('images/one.jpg'); with (image/ten.jpg'); of the loaded scene.
The action will refresh automatically when a new scene is loaded and the respective slideshow images will be loaded. -->


.................
..............

</krpano>

NOTE: The method best works with different scenes loaded in different xml's instead of scenes in one xml.

Best regards,

Poll.

6

Samstag, 16. März 2013, 22:33

Simple Gallery

Thanks Poll, I will try this out.

Cheers
Tim