Lytebox gallery

2 posts by 2 authors in: Forums > CMS Builder
Last Post: January 6, 2009   (RSS)

By chassa2556 - January 5, 2009

Hi

I've been struggling to get Lytebox working I wonder if you could see what I'm doing wrong?

The table name is 'gallery' the image field name is 'picture'.

<?php foreach ($galleryRecord['picture'] as $upload): ?>
<?php if ($upload['isImage']): ?>
<td width="230" height="130">
<a href="<?php echo
$upload['urlPath'] ?>" rel="lytebox[gallery]"><img src="<?php echo $upload['thumbUrlPath']
?>" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo
$upload['thumbHeight'] ?>" border="0" alt="" /></a><br /><br />
</td>
<td width="15">&nbsp;</td>
<?php endif ?>
<?php $maxCols=3; if (@++$count % $maxCols == 0): ?></tr><tr><?php endif; ?>
<?php endforeach ?>

Re: [chassa2556] Lytebox gallery

By Dave - January 6, 2009

Hi Charles,

I'm not sure from looking at that code. Do you have an url for the page with this code and an url for a html mockup version of the page where lytebox works?

Once you have a mockup it's much easier to compare the code and try and determine what the difference is.

Hope that helps.
Dave Edis - Senior Developer
interactivetools.com