LiquidD
06-03-2005, 08:29 AM
Hey all,
I have this code below. It is the simple routine of if this pic show, else this pic show. This is my code that is currently working.
<% if (Recordset1.Fields.Item("Pudf_photo1").Value != "")
{ %>
<img src="../images/dsf/<%=(Recordset1.Fields.Item("Pudf_photo1").Value)%>" width="253" height="213" />
<% }
else
{%>
<img src="../images/defaultblue.jpg">
<% } %>
How can I manipulate this code to where I can uses serveral different pictures from different locations but sill use my default pic? By the way if it helps I am working with JAVASCRIPT.
Thanks!
:) Liquid :)
I have this code below. It is the simple routine of if this pic show, else this pic show. This is my code that is currently working.
<% if (Recordset1.Fields.Item("Pudf_photo1").Value != "")
{ %>
<img src="../images/dsf/<%=(Recordset1.Fields.Item("Pudf_photo1").Value)%>" width="253" height="213" />
<% }
else
{%>
<img src="../images/defaultblue.jpg">
<% } %>
How can I manipulate this code to where I can uses serveral different pictures from different locations but sill use my default pic? By the way if it helps I am working with JAVASCRIPT.
Thanks!
:) Liquid :)