DISPLAYING THUMBNAIL 2, THUMBNAIL3, THUMBNAIL4 - Aug 3rd, 2010


If you’ve created these thumbnails, you can use them by adding a 2, 3, etc. at the end of the “thumbUrlPath”,
“thumbWidth" and “thumbHeight" statements.

Dave added:
To test for the existence of the alternate thumbnails, just add the number (2, 3, or 4) on the end and test for
thumbUrlPathX instead of “hasThumbnail”. If there's no thumbnail, thumbUrlPathX will be blank and test as false.



<?php if ($upload['thumbUrlPath2']): ?>
<a href="<?php echo $upload['urlPath2'] ?>" rel= "lightbox[model]">
<img border="0" src="<?php echo $upload['thumbUrlPath2'] ?>"
width="<?php echo $upload['thumbWidth2'] ?>"
height="<?php echo $upload['thumbHeight2'] ?>" alt="" />
<?php endif ?>




The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service