Slideshow Magic - project seven

12 posts by 5 authors in: Forums > CMS Builder
Last Post: September 18, 2008   (RSS)

By Frank the Tank - September 18, 2008 - edited: September 18, 2008

Thanks Kenny,

I gave it a shot, and after a misfire, it worked great so I edted my first reply. Curiously, there's an issue in Firefox that doesn't show up in IE. In Firefox, a comment tag shows up at the bottom of the page. I'm working on that issue now, but just to be sure, here's what I've got for code. BTW, the [font "Verdana"]<script src="/js-global/FancyZoom.js" type="text/javascript"></script>
<script src="/js-global/FancyZoomHTML.js" type="text/javascript"></script> were in the <head> section, not the <body> as incorrectly stated before: bad pasting.


Also, one more question. This link shows up on the page, but I'm not sure what it is for. It's a link to the same page it is on. _link : [url "http://www.travisbruce.com/gallery.php?Shiners-Whiskey-Walk-1"]/gallery.php?Shiners-Whiskey-Walk-1[/#800080][/url]

FR

<!---- STEP2: Display Records (Paste this where you want your records to be listed) ---->
<h1>Photo Gallery</h1>
<?php foreach ($photosRecords as $record): ?>
Record Number: <?php echo $record['num'] ?><br/>
Album Name: <?php echo $record['album'] ?><br/>
Date: <?php echo date("D, M jS, Y g:i:s a", strtotime($record['date'])) ?><br/>
<!---- For date formatting codes see: http://www.php.net/date ---->
_link : <a href="<?php echo $record['_link'] ?>"><?php echo $record['_link'] ?></a><br/>


<!-- STEP 2a: Display Uploads for field 'upload' --> <?php foreach ($record['upload'] as $upload): ?> <?php if ($upload['hasThumbnail']): ?> <a href="<?php echo $upload['urlPath'] ?>" title="<?php echo $upload['info1'] ?>"/> <img src="<?php echo $upload['urlPath'] ?>" width="100" border="0"/></a> <?php elseif ($upload['isImage']): ?> <a href="<?php echo $upload['urlPath'] ?>" title="<?php echo $upload['info1'] ?>"/> <img src="<?php echo $upload['urlPath'] ?>" width="100" border="0"/></a> <?php endif ?> <?php endforeach ?> <!-- STEP2a: /Display Uploads -->


<br/>
<?php endforeach; ?>

<?php if (!$photosRecords): ?>
No records were found!<br/><br/>
<?php endif ?>
<!-- /STEP2: Display Records -->