Thumbnails
2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 7, 2008 (RSS)
Hi,
I would like to insert an image into an article as a thumbnail and then when the image is clicked have it open into its full size.
I would like to insert the image as a set field within a reviews sectiion and have the image placed at the thumbail placed at the top left of the article itself. Please could you advise how to do this?
Thanks,
Mickey
I would like to insert an image into an article as a thumbnail and then when the image is clicked have it open into its full size.
I would like to insert the image as a set field within a reviews sectiion and have the image placed at the thumbail placed at the top left of the article itself. Please could you advise how to do this?
Thanks,
Mickey
Re: [Michael Blake] Thumbnails
By Donna - August 7, 2008
Hi Mickey,
The basic code to link a thumbnail to a full sized image is 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>
Put that into the image upload section, and that should work for you (modified to match your fields, of course). :)
The basic code to link a thumbnail to a full sized image is 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>
Put that into the image upload section, and that should work for you (modified to match your fields, of course). :)
Donna
--
support@interactivetools.com
--
support@interactivetools.com