Question on making link from dynamic data
I'm not sure this is the correct section but I thought I'd start here since it's dynamic data.
I'm trying to incorporate lightbox v2 on page to display full size photos from thumbnails. I've tried hand coding to make the links but I'm not getting anywhere with that. Here's what I'm doing. I've got a master display page that displays the dynamic data in repeating tables and the text is linked to a details page. I've got one full size photo and three thumbnails where I'm trying to link to display the full size photo but I can't get the code figured out to do the link. Is there a function in any of the extensions that would make this easier?
Here is the code for the image that I'm trying to link without any link coding:
<div id="lft_photo2_thumb"><img src="new_prod_thumb/<?php echo $row_rs_tech_page['prod_thumb2']; ?>"" name="new_prod_thumb_2" width="120" height="80" border="0" id="new_prod_thumb_2" /></div>
And here's the syntax that lightbox says to use but of course it's not dynamic data:
<a href="dog.jpg" rel="lightbox" ><img src="dog_thumb.jpg" /></a>
I've tried various ways to do it, mostly by replacing the "dog.jpg" with the dynamic binding and of course setting the correct source to new_prod_image_large/And_the_dynamic_binding.
I'm also needing to do this with another dynamic display field on the page and I haven't figured that one out yet either. For it, the user enters their full web url in the registration form and when I display it on the page I want to make it a working link to their site.
Any help would be greatly appreciated.
Thanks,
Roger