making thumnails link to large photos
            3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 13, 2008   (RSS)          
By Codee - February 13, 2008
          Hi Dave,
First, let me say that so far your service and support has been terrific! Your patience with a newbie like me is appreciated.
Alright, as of now I can get the List page to work, clicking on a record choice brings up a record page with thumbnails on it. So far so good...
...now, how do I get the thumbnails to link to their respective larger photos? I assumed it would have done that automatically but maybe I missed a step somewhere.
Thanks in advance,
Terry
                                        
        First, let me say that so far your service and support has been terrific! Your patience with a newbie like me is appreciated.
Alright, as of now I can get the List page to work, clicking on a record choice brings up a record page with thumbnails on it. So far so good...
...now, how do I get the thumbnails to link to their respective larger photos? I assumed it would have done that automatically but maybe I missed a step somewhere.
Thanks in advance,
Terry
Re: [equinox69] making thumnails link to large photos
By Dave - February 13, 2008
          Hi Terry,
Thanks for the kudos, much appreciated! :)
Find the place in your viewer page where the <img ... > tag is. It will look something like this:
There will be two, once will say thumbUrlPath instead (that one displays for thumbnails). Add a link around each img tag like:
That will link the image to the fullsize version.
Let me know if that works for you.
                          
        Thanks for the kudos, much appreciated! :)
Find the place in your viewer page where the <img ... > tag is. It will look something like this:
<img src="<?php echo $upload['urlPath'] ?>" 
width="<?php echo $upload['width'] ?>" 
height="<?php echo $upload['height'] ?>" /><br/>There will be two, once will say thumbUrlPath instead (that one displays for thumbnails). Add a link around each img tag like:
<a href="<?php echo $upload['urlPath'] ?>"><img ... ></a>That will link the image to the fullsize version.
Let me know if that works for you.
      Dave Edis - Senior Developer
interactivetools.com
                    interactivetools.com