I am creating a new page with a floatbox slideshow on it. The slideshow can be started three ways: from an icon, from clicking a photo, or from clicking any of the thumbnails that represent the content of the slideshow. Here is an example of the page in experimental form:
http://www.littlehotels.co.uk/hotel_exp.php?hotel=Villa-Kerasy-Vannes-Morbihan
The problem is that the slideshow includes the first photo 3 times. If I get rid of one of the methods of starting the slideshow (the icon, say), it goes down to 2 times.
I've included a print_r() at the bottom of the page which shows that the array to show the photos only includes the first photo once.
I'm not sure if this is a floatbox problem or a PHP problem, but any guidance would be appreciated. Thanks.
Repeating Images in a Slideshow
Page: 1
Author | Post |
---|---|
#1 Mon Jun 15, 2015 11:18 am
|
|
Member
Registered: Jan 2012
Posts: 98
|
|
#2 Mon Jun 15, 2015 11:26 am
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
Precisely why the showThis option exists. Check it out in the Options Reference.
Its use is demo'd on this site in a scenario very much like yours. Take a look at "gallery slideshow" on the "Images" tab of the demo page. |
#3 Mon Jun 15, 2015 12:04 pm
|
|
Member
Registered: Jan 2012
Posts: 98
|
Sorted! Thanks.
|
Page: 1