You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,164

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

1

Monday, March 10th 2014, 1:07pm

2 free simple 'flat' photo gallery's

Hi all,

i made 2 gallery's to show flat photo's in your tour.

- normal
- slide


you can download them here:

http://www.virtualtuur.com/free_2xgallery.zip

free to use, free to transform… just have fun!

examples:
http://www.virtualtuur.com/krpano/galler…gallery_normal/
http://www.virtualtuur.com/krpano/galler…y/gallery_slide

i hope you enjoy!
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

This post has been edited 1 times, last edit by "Tuur" (Mar 10th 2014, 1:30pm)


spacerywirtualne

Professional

Posts: 898

Location: Poland, Europe

Occupation: krpano developer : virtual tours

  • Send private message

2

Monday, March 10th 2014, 2:04pm

very clever *thumbup*

You are the KRpanoCodeMaster *smile*
Your own online, cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube

cms4vr team *thumbsup*

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,164

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

3

Monday, March 10th 2014, 2:15pm

Noooooo
that would to much honour *w00t*

i think the code could be much smarter...

i found a small bug though making this.. which was started as a small study ( as always with me)
I'll try to pinpoint it and make a bare bone example of that bug.

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

arthur

Beginner

Posts: 3

Location: Amersfoort

Occupation: Architectural presentations

  • Send private message

4

Thursday, March 13th 2014, 12:55pm

Tuur,

Awesome plugin, I've been looking for that for ages! Thanks!

I changed the gallery.xml a bit, so you can make photogroups, instead of showing them all.

For everybody who would like to use that, just group the photo's like this:


<pic1>
<photo name="photo_0" url="../images/1.jpg" />
<photo name="photo_1" url="../images/2.jpg" />
<photo name="photo_2" url="../images/3.jpg" />
<photo name="photo_3" url="../images/4.jpg" />
<photo name="photo_4" url="../images/5.jpg" />
<photo name="photo_5" url="../images/6.jpg" />
<photo name="photo_6" url="../images/7.jpg" />
<photo name="photo_7" url="../images/8.jpg" />
</pic1>
<pic2>
<photo name="photo_0" url="../images/9.jpg" />
<photo name="photo_1" url="../images/10.jpg" />
<photo name="photo_2" url="../images/11.jpg" />
<photo name="photo_3" url="../images/12.jpg" />
</pic2>

and for the hotspots:


<hotspot name="Spot1" edge="bottom" visible="true" onclick="gallery(1);show_gallery();" url="Template/spots/spot1.png" ath="0" atv="0"/>
<hotspot name="Spot2" edge="bottom" visible="true" onclick="gallery(2);show_gallery();" url="Template/spots/spot1.png" ath="15" atv="0"/>

Arthur
arthur has attached the following file:
  • gallery.xml (6.74 kB - 52 times downloaded - latest: Sep 23rd 2019, 12:21am)

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,164

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

5

Thursday, March 13th 2014, 1:00pm

Hi Arthur,

Great idea, didn't think about that yet.
My 'creation' was just a simple study and i thought it was nice to share.
There are a lot of things you could change, or make better.
I'm working on a few changes as well as i need them.

Cheers,
Arthur (Tuur) *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

ramirox3

Intermediate

Posts: 203

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

6

Thursday, March 13th 2014, 3:04pm

Wonderful ¡¡¡¡¡
Thanks for sharing
Ramiro

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,164

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

7

Thursday, March 13th 2014, 4:33pm

I made a small change to the slider version.
now, with a slow connection, you don't see the old pic first in the new slide before the new pic is loaded, but you see the white background and the text loading.

hope it makes sense

edit: i've changed the attachment. There was a missing enabled false and path mistake.
Tuur *thumbsup*
Tuur has attached the following file:
http://www.virtualtuur.com
Skype:studiotuur

This post has been edited 1 times, last edit by "Tuur" (Mar 14th 2014, 4:21pm)


8

Friday, March 14th 2014, 9:26am

Pretty cool, Tuur *thumbsup* I especially like the way the slide-gallery works! There are still a few bugs to solve. If you slide the image and hold the mouse button/finger, then the gallery keeps sliding without showing any images and after some time all that´s left, is the white frame. But still, great work and another great example from the master of unconventional krpano-coding! Next beer in the krpano-bar is on me *g*

BR
Nupsi

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,164

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

9

Friday, March 14th 2014, 9:33am

Thanks Nupsi,

Well should you call that a bug?
My car has a bug to.. When i turn right in a left curve it crashes all the time ;-)

Seriously, it is also handy when you want to scroll quick to a specific picture.
But, ok. Show us your solution Nupsi. I don't have a clue at the moment.
Maybe do an if is pressed do nothing --- on up set if pressed slide.. ?

Is this so unconventional?
It was just a small study.
I think when i would rewrite it with a serious gallery in mind i would change some things and maybe have less code as well.

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

10

Thursday, March 20th 2014, 12:55pm

whoa...there´s somebody in a bad morning-mood *g* *just kidding* ;-)

Seriously though....I think, you got me wrong, Tuur, or maybe I didn´t express myself very well. I didn´t mean that it´s wrong that the images are not shown if you keep the finger/mouse button pressed and all images are flying by! That´s even kinda cool *thumbup* What I meant was that if you keep the finger pressed for a longer time and then stop, all photos are disappered and instead of the photos you´re scrolling through empty white frames.
So no offense, I didn´t meant to critizise your work! But after all, this is a coding-forum and I think it´s ok to point out noticed errors and bugs ;-)

Best regards,
Nupsi

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,164

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

11

Thursday, March 20th 2014, 2:10pm

hehe you are right, maybe my tone was not ok but i was 'joking' in a way.

yes, i had the same discussion with Sacha, i have a look at it later.. but feel free to show us your solution ;-)

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

12

Saturday, April 5th 2014, 6:39pm

Tuur, thanks for the plugin. But when you press the "close" button, the text "show gallery" neve appears again. Could you please fix that? *rolleyes*

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,164

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

13

Saturday, April 5th 2014, 7:04pm

Hi,
I just made this. It is not finished at all. Just a code base.
I have some better versions though, i will post soon.
But try to have a look in the code, and learn!
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

14

Saturday, December 5th 2015, 1:46pm

picture size bug

good afternoon, Tuur!
Photo Gallery is very good, but it has a drawback - fotorafy size proportional to the size of the screen. herefore, small photos are stretched and become bad form (
Bag pleced in action good gallery_size()...

ramirox3

Intermediate

Posts: 203

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

15

Wednesday, December 9th 2015, 12:44am

Hi Tuur
It works great, especially gallery slide in touch devices. I have one gallery on the first scene tour, this works fine. In the fourth scene I have two galleries, two hotspot, one to open each. The photos are in different locations. Always appears the same gallery when I click on any button. I tried the suggestion of Arthur to show groups but it does not work, it always shows the same. Where am I wrong?
I am using the second xml provided by TUUR

The code

<hotspot name="linea" url="hotspots/icon2.png" devices="all" style="tooltip" tooltip="Línea de Tiempo" ath="-493.000" atv="-13.900" visible="true"
scale.mobile="0.55"
alpha="0.9" zoom="true" onclick.mobile="set(visible,false);show_gallery();" />


<pic>

<photo name="photo_0" url="slideshow1 - copia/photo/1.png" />
<photo name="photo_1" url="slideshow1 - copia/photo/1a.png" />
<photo name="photo_2" url="slideshow1 - copia/photo/2.png" />
<photo name="photo_3" url="slideshow1 - copia/photo/2a.png" />
<photo name="photo_4" url="slideshow1 - copia/photo/3.png" />
<photo name="photo_5" url="slideshow1 - copia/photo/3a.png" />
<photo name="photo_6" url="slideshow1 - copia/photo/4.png" />
<photo name="photo_7" url="slideshow1 - copia/photo/4a.png" />
<photo name="photo_8" url="slideshow1 - copia/photo/5.png" />
<photo name="photo_9" url="slideshow1 - copia/photo/6.png" />
<photo name="photo_10" url="slideshow1 - copia/photo/7.png" />
<photo name="photo_11" url="slideshow1 - copia/photo/7a.png" />
<photo name="photo_12" url="slideshow1 - copia/photo/8.png" />
<photo name="photo_13" url="slideshow1 - copia/photo/8a.png" />
<photo name="photo_14" url="slideshow1 - copia/photo/9.png" />
<photo name="photo_15" url="slideshow1 - copia/photo/9a.png" />
<photo name="photo_16" url="slideshow1 - copia/photo/10.png" />
<photo name="photo_17" url="slideshow1 - copia/photo/10a.png" />
<photo name="photo_18" url="slideshow1 - copia/photo/11.png" />
<photo name="photo_19" url="slideshow1 - copia/photo/11a.png" />

</pic>

<hotspot name="actores" url="hotspots/icon2.png" devices="all" style="tooltip" tooltip="Actores del Conflicto" ath="-439.000" atv="18.4" visible="true" scale.mobile="0.55" onclick.mobile="set(visible,false);show_gallery();" />

<pic>


<photo name="photo_0" url="slideshow1/photo/1.jpg" />
<photo name="photo_1" url="slideshow1/photo/2.jpg" />
<photo name="photo_2" url="slideshow1/photo/3.jpg" />
<photo name="photo_3" url="slideshow1/photo/4.jpg" />
<photo name="photo_4" url="slideshow1/photo/5.jpg" />
<photo name="photo_5" url="slideshow1/photo/6.jpg" />
<photo name="photo_6" url="slideshow1/photo/7.jpg" />
<photo name="photo_7" url="slideshow1/photo/8.jpg" />
<photo name="photo_8" url="slideshow1/photo/9.jpg" />
<photo name="photo_9" url="slideshow1/photo/10.jpg" />
<photo name="photo_10" url="slideshow1/photo/10a.jpg" />
<photo name="photo_11" url="slideshow1/photo/11.jpg" />
<photo name="photo_12" url="slideshow1/photo/12.jpg" />
<photo name="photo_13" url="slideshow1/photo/13.jpg" />
<photo name="photo_14" url="slideshow1/photo/13a.jpg" />
<photo name="photo_15" url="slideshow1/photo/14.jpg" />
<photo name="photo_16" url="slideshow1/photo/15.jpg" />
<photo name="photo_17" url="slideshow1/photo/16.jpg" />
<photo name="photo_18" url="slideshow1/photo/17.jpg" />
<photo name="photo_19" url="slideshow1/photo/18.jpg" />
<photo name="photo_20" url="slideshow1/photo/19.jpg" />
<photo name="photo_21" url="slideshow1/photo/20.jpg" />
<photo name="photo_22" url="slideshow1/photo/21.jpg" />
<photo name="photo_23" url="slideshow1/photo/22.jpg" />
<photo name="photo_24" url="slideshow1/photo/23.jpg" />
<photo name="photo_25" url="slideshow1/photo/24.jpg" />
<photo name="photo_26" url="slideshow1/photo/25.jpg" />
<photo name="photo_27" url="slideshow1/photo/26.jpg" />
<photo name="photo_28" url="slideshow1/photo/27.jpg" />
<photo name="photo_29" url="slideshow1/photo/28.jpg" />
<photo name="photo_30" url="slideshow1/photo/29.jpg" />
<photo name="photo_31" url="slideshow1/photo/29a.jpg" />
<photo name="photo_32" url="slideshow1/photo/30.jpg" />
<photo name="photo_33" url="slideshow1/photo/31.jpg" />
<photo name="photo_34" url="slideshow1/photo/32.jpg" />
<photo name="photo_35" url="slideshow1/photo/33.jpg" />
<photo name="photo_36" url="slideshow1/photo/34.jpg" />
<photo name="photo_37" url="slideshow1/photo/35.jpg" />
<photo name="photo_38" url="slideshow1/photo/36.jpg" />
<photo name="photo_39" url="slideshow1/photo/37.jpg" />


</pic>

Thanks for help
Ramiro

Reggie

Trainee

Posts: 91

Location: Seymour, TN US

Occupation: Virtual Tour Photographer

  • Send private message

16

Wednesday, August 23rd 2017, 11:59am

Many Thanks!

Hi all,

i made 2 gallery's to show flat photo's in your tour.

- normal
- slide


you can download them here:

http://www.virtualtuur.com/free_2xgallery.zip

free to use, free to transform… just have fun!

examples:
http://www.virtualtuur.com/krpano/galler…gallery_normal/
http://www.virtualtuur.com/krpano/galler…y/gallery_slide

i hope you enjoy!
Tuur *thumbsup*
Thank you Tuur! These are nice arrows to have in the quiver! *smile*


Alexbar78

Beginner

Posts: 4

Location: Russia

  • Send private message

17

Thursday, September 28th 2017, 8:58am

Hi all,

i made 2 gallery's to show flat photo's in your tour.

- normal
- slide


you can download them here:

http://www.virtualtuur.com/free_2xgallery.zip

free to use, free to transform… just have fun!

examples:
http://www.virtualtuur.com/krpano/galler…gallery_normal/
http://www.virtualtuur.com/krpano/galler…y/gallery_slide

i hope you enjoy!
Tuur *thumbsup*
I can not download this file ((( file is exist? thank you!

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,164

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

18

Thursday, September 28th 2017, 10:28am

Hi,

This was very old stuff, i think i took it offline, not sure.
I would advice to use this one
https://krpano.com/plugins/userplugins/swipegallery/#top
Or build your own of course .
Don't forget to donate him!

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur