Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [kevinws] best way to display a db image in custom templates

Quote Reply
Re: [kevinws] best way to display a db image in custom templates In reply to
Try this:

<%if image_column%>
<img src="db.cgi?db=table&do=view_file&cn=<%image_column%>&id=<%primary_key%>" width="59" height="90" vspace="7" hspace="7" border=1>
<%else%>
do something else
<%endif%>

TheStone.

B.
Subject Author Views Date
Thread best way to display a db image in custom templates hennagaijin 7628 Jan 24, 2003, 2:56 PM
Thread Re: [hennagaijin] best way to display a db image in custom templates
604 7463 Jan 24, 2003, 3:11 PM
Thread Re: [TheStone] best way to display a db image in custom templates
hennagaijin 7473 Jan 25, 2003, 5:16 AM
Post Re: [hennagaijin] best way to display a db image in custom templates
hennagaijin 7406 Feb 4, 2003, 9:48 AM
Thread Re: [TheStone] best way to display a db image in custom templates
kevinws 7245 Oct 30, 2003, 10:46 AM
Post Re: [kevinws] best way to display a db image in custom templates
604 7266 Oct 30, 2003, 11:02 AM
Thread Re: [kevinws] best way to display a db image in custom templates
Luc1 7248 Oct 30, 2003, 11:07 AM
Post Re: [Luc1] best way to display a db image in custom templates
kevinws 7243 Oct 30, 2003, 11:41 AM
Thread Re: [Luc1] best way to display a db image in custom templates
kevinws 7226 Oct 30, 2003, 11:49 AM
Post Re: [kevinws] best way to display a db image in custom templates
604 7243 Oct 30, 2003, 4:36 PM