Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Images Bug?

Quote Reply
Images Bug?
Hi,

I have added an image upload field to the links table, and called it "Thumbnail".

When referening it through the template directly this works fine:

<img src="<%db_cgi_url%>/jump.cgi?ID=<%ID%>&view=Thumbnail">

But if I try this it only displays the image for the first link in the category:
<%if Thumbnail%>
<img src="<%db_cgi_url%>/jump.cgi?ID=<%ID%>&view=Thumbnail">
<%endif%>

Any reason why, or something I'm doing wrong?

Cheers,
R.


Quote Reply
Re: Images Bug? In reply to
Hi,

No, that should work fine. Try just printing thumbnail: <%Thumbnail%> to see what is actually stored. Also double check that you have closed your if's properly.

Cheers,

Alex

--
Gossamer Threads Inc.