Forums

ASP

This topic is locked

Same Two Recordset fields on One Page

Posted 06 Mar 2010 19:14:51
1
has voted
06 Mar 2010 19:14:51 Jeff Beyer posted:
I use the Pure ASP upload and Smart Image Processor to upload images to my website. I am trying to use two of the exact same recordset field names on the same page.

When I use the code below it will show a broken link for the thumbnail, but the detail image will work fine.

example:
Insert recordset field for for thumbnail using _small.jpg
Hyperlink to detail image

Code Example:
<a href="../images/gallery/<%=(rsImage.Fields.Item("ImageCLM".Value)%>" rel="lightbox" title="<%=(rsImage.Fields.Item("CommentCLM".Value)%>"><img src="../images/gallery/<%= Thumbnail("_small", rsImage.Fields.Item("ImageCLM".Value) %>" alt="" border="0" /></a>

Any help on this would be great!

Thanks,

execfro

Replies

Replied 06 Mar 2010 20:17:53
06 Mar 2010 20:17:53 Jeff Beyer replied:
Solved. Changed the memo field to text field in the database.

Reply to this topic