Linking Thumbnails to larger images

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

Okay, so on my products listing page, the thumbnails worked like a charm (except for the "no transparency issue with .png files but I've already read about all that), however, I need to find a way to have the images, when clicked, bring up the full size image (which I put into litebox w/o the background shadow). At the moment, they aren't even clickable links that bring up a non-formatted page?

Thank for the help!

Referring page is http://209.62.14.161/products/buildingsDetail.php?1

Re: [misery217] Linking Thumbnails to larger images

By Dave - January 27, 2009

Hi misery217,

When you generate a page with the code generator it will create a block of code that shows images. In the <img src="..." and <a href="..." tags in that code there will be php snippets that display various image attributes. You can just shuffle them around to link from the small to the big image. It should look something like this:

<a href="<?php echo $upload['urlPath'] ?>">
<img src="<?php echo $upload['thumbUrlPath'] ?>"
width="<?php echo $upload['thumbWidth'] ?>"
height="<?php echo $upload['thumbHeight'] ?>" alt="" />
</a>


Also, we should have transparent PNG resizing working in 1.24.

Hope that helps, let me know if that works for you.
Dave Edis - Senior Developer
interactivetools.com