Linking Thumbnails to larger images

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

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

Re: [misery217] Linking Thumbnails to larger images

That was it! Now to add Litebox (which will inevitably spawn more Forum time) and patiently await the next version!