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 5450 Jan 24, 2003, 2:56 PM
Thread Re: [hennagaijin] best way to display a db image in custom templates
604 5321 Jan 24, 2003, 3:11 PM
Thread Re: [TheStone] best way to display a db image in custom templates
hennagaijin 5324 Jan 25, 2003, 5:16 AM
Post Re: [hennagaijin] best way to display a db image in custom templates
hennagaijin 5260 Feb 4, 2003, 9:48 AM
Thread Re: [TheStone] best way to display a db image in custom templates
kevinws 5116 Oct 30, 2003, 10:46 AM
Post Re: [kevinws] best way to display a db image in custom templates
604 5126 Oct 30, 2003, 11:02 AM
Thread Re: [kevinws] best way to display a db image in custom templates
Luc1 5101 Oct 30, 2003, 11:07 AM
Post Re: [Luc1] best way to display a db image in custom templates
kevinws 5105 Oct 30, 2003, 11:41 AM
Thread Re: [Luc1] best way to display a db image in custom templates
kevinws 5090 Oct 30, 2003, 11:49 AM
Post Re: [kevinws] best way to display a db image in custom templates
604 5086 Oct 30, 2003, 4:36 PM