DMXzone Lightbox Support Product Page

This topic was archived

Creatinga Dynamic Lightbox..

Asked 06 Jul 2009 08:45:53
1
has this question
06 Jul 2009 08:45:53 tuteri marco posted:
I have a gallery of images in a database.
I want to show the gallery of images with " Lightbox" , when i click on the first image. I read the tutorial "Creatinga Dynamic Lightbox by using a standard Dreamweaver recordset" but when i apply a repeat region to the Icon will not work like in the turtorial, but show me all the images outside to "Lightbox".
simply the gallery is 1 with four images, but not 4 galleries from an image.

the code is:
<div>
<?php do { ?>
<a href="dati/<?php echo $row_mostra1['name_img']; ?>" rel="dmxLightbox" title="<?php echo $row_mostra1['name_img']; ?>"><img src="dati/<?php echo $row_mostra1['nome_thumb']; ?>" /></a>
<?php } while ($row_mostra1 = mysql_fetch_assoc($mostra1)); ?>
</div>

and this is the link www.2727.eu/admin/presenta.php

sorry for my english
regards

Replies

Replied 06 Jul 2009 12:02:06
06 Jul 2009 12:02:06 Teodor Kuduschiev replied:
Hello Marco,

You need to assign the pictures into a same group.
Please, see the Point 10 of the tutorial and the screenshot attached.
www.dmxzone.com/go?16667&LinkFile=creatinga_dynamic.htm
Replied 06 Jul 2009 18:25:28
06 Jul 2009 18:25:28 tuteri marco replied:
QuoteHello Marco,

You need to assign the pictures into a same group.
Please, see the Point 10 of the tutorial and the screenshot attached.
www.dmxzone.com/go?16667&LinkFile=creatinga_dynamic.htm



I assign the pictures into a same group but I can see all the image of the gallery, not only one that play the slide.
the link www.2727.eu/admin/presenta.php
and the new code:
<div>


<?php do { ?>
<a href="dati/<?php echo $row_mostra1['name_img']; ?>" title="<?php echo $row_mostra1['name_img']; ?>" rel="dmxLightbox" rev="{group:'gallery_50'}"><img src="dati/<?php echo $row_mostra1['nome_thumb']; ?>" /></a>
<?php } while ($row_mostra1 = mysql_fetch_assoc($mostra1)); ?>
</div>

thanks
marco
Replied 07 Jul 2009 10:04:46
07 Jul 2009 10:04:46 Teodor Kuduschiev replied:
Hello Marco,
Sorry in your first post i didn't get what you want to do, now i understand. In this topic is your solution: www.dmxzone.com/forum/topic/43510/

Reply to this topic