john0611
08-06-2009, 04:02 AM
Hi all,
This is one that has been buggin me for a while:confused:
Some php that drags the data out, href to open the linked image.
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?img/galleries/paintings=<?php echo $row['filename']; ?>&curPage=<?php echo $curPage; ?>"><img src="img/galleries/paintings/thumbs/<?php echo $row['filename']; ?>" alt="<?php echo $row['caption']; ?>" width="152" height="152" /></a>
How do I correctly add the (rel="lightbox") attribute to the above? I have had lightbox initiate but not display the image?
Any help would be awsome! Thanks
This is one that has been buggin me for a while:confused:
Some php that drags the data out, href to open the linked image.
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?img/galleries/paintings=<?php echo $row['filename']; ?>&curPage=<?php echo $curPage; ?>"><img src="img/galleries/paintings/thumbs/<?php echo $row['filename']; ?>" alt="<?php echo $row['caption']; ?>" width="152" height="152" /></a>
How do I correctly add the (rel="lightbox") attribute to the above? I have had lightbox initiate but not display the image?
Any help would be awsome! Thanks