continuous loop

203 views
Skip to first unread message

johnyb...@hotmail.com

unread,
Dec 6, 2008, 1:10:33 AM12/6/08
to PHPSlideShow by zinkwazi.com
Is there a way to set the slideshow on continuous loop? Also, can you
change the timing between images?

BandonRandon

unread,
Dec 6, 2008, 9:57:25 PM12/6/08
to PHPSlideShow by zinkwazi.com
to change to continuous loop the easiest way to do this is to change
line 354 from:

if (($auto == "1") && ($currentPic < $number_pics-1))

to:
if ($auto == "1")

basically the reason it doesn't contuniue to loop is to save bandwith
and stop on the last image.

to change the time between images set line 121 $delay = 2; to whatever
you want the delay to be.

johnyb...@hotmail.com

unread,
Dec 6, 2008, 10:44:39 PM12/6/08
to PHPSlideShow by zinkwazi.com
YAY! Thank you so much! That made it perfect, exactly what I wanted!
if you all wanna see what I'm using it for check out http://dnbauto.com
Thanks again!

johnyb...@hotmail.com

unread,
Dec 6, 2008, 10:48:03 PM12/6/08
to PHPSlideShow by zinkwazi.com
it will eventually be used to show pictures of the salesman with the
customers, but as of right now I just have some of the cars they
currently have on the lot up.

BandonRandon

unread,
Dec 7, 2008, 5:25:34 PM12/7/08
to PHPSlideShow by zinkwazi.com
glad you got it working
Reply all
Reply to author
Forward
0 new messages