DMXzone Lightbox Support Product Page
Answered
One thumbnail - multiple slideshow images from a dataset?
Asked 04 Mar 2013 22:42:19
1
has this question
04 Mar 2013 22:42:19 Michael Hogan posted:
I am trying to have one thumbnail for a series of images using a Spry dataset (JSON). If I display only one thumbnail, I see only one image in the slideshow but if I have a repeat region then I have multiple thumbnails and multiple images in the slideshow.How do I get only one thumbnail on the page and multiple images in the slideshow?www.interlakencondo.com/CondoApp/Interlaken/LightBoxTest.htmlI saw your video on hiding unwanted images in a div, but that really won't work with dynamically loaded images in a dataset...
Replies
Replied 05 Mar 2013 09:29:54
05 Mar 2013 09:29:54 Teodor Kuduschiev replied:
Hello,
Unfortunately this is not possible.
You can try using one static image that opens up the group and hide the dynamic images.
Unfortunately this is not possible.
You can try using one static image that opens up the group and hide the dynamic images.
Replied 05 Mar 2013 15:26:28
05 Mar 2013 15:26:28 Michael Hogan replied:
Thanks for responding. Actually, I resolved it using spry:if
Since I use mostly JSON data, it's difficult for me to use the GUI to set up the slideshows. It would be nice to have a few SIMPLE examples so I can see the underlying html and javascript. The samples on your site tend to be flashy and complex and difficult to isolate needed code.
<div spry:if="{ds_RowNumber} == 0" style="display: block"><a href="{ds1::imagepath}" rel="dmxLightbox" title="{ds1::description}" rev="{width:600, height:450, preset:'minimalistic', group:'PX0LKDAE'}"><img src="{ds1::imagepath}" width="{imgwidth}" height="{imgheight}"></a></div> <div spry:if="{ds_RowNumber} != 0" style="display: none"><a href="{ds1::imagepath}" rel="dmxLightbox" title="{ds1::description}" rev="{width:600, height:450, preset:'minimalistic', group:'PX0LKDAE'}"><img src="{ds1::imagepath}" width="{imgwidth}" height="{imgheight}"></a></div>
Since I use mostly JSON data, it's difficult for me to use the GUI to set up the slideshows. It would be nice to have a few SIMPLE examples so I can see the underlying html and javascript. The samples on your site tend to be flashy and complex and difficult to isolate needed code.