You are not logged in.

1

Thursday, August 29th 2013, 7:44pm

Image gallery with more then 6 images

Help please.

I create tour with images gallery from this example.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<action name="start1">
		<!--
			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(6, top, h, 10,10, 90,60, 6);

		thumbbar_addimage('images/IMG_1683.jpg');
		thumbbar_addimage('images/IMG_1685.jpg');
		thumbbar_addimage('images/IMG_1688.jpg');
		thumbbar_addimage('images/IMG_1696.jpg');
		thumbbar_addimage('images/IMG_1702.jpg');
		thumbbar_addimage('images/IMG_1704.jpg');


But in my project more then 6 images. If i add more images - the sum width of them are beyond the screen.

Ideal solve is auto scrolling of this list of images, but i don't know how *unsure* *unsure* *unsure*

I need this result

Source code

1
2
3
4
5
6
7
8
9
10
11
  	create_thumbbar(18, top, h, 10,10, 90,60, 6);

		thumbbar_addimage('images/IMG_1683.jpg');
		thumbbar_addimage('images/IMG_1685.jpg');
		thumbbar_addimage('images/IMG_1688.jpg');
		thumbbar_addimage('images/IMG_1696.jpg');
		thumbbar_addimage('images/IMG_1702.jpg');
.....................................................
		thumbbar_addimage('images/IMG_1704.jpg');

autoscrolling="true"

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

2

Friday, August 30th 2013, 12:42am

Hi!Take a look here... may be it's interesting for you
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