Z
Zen Masta
Original code:
<% img_name=rs("ISBN") & ".jpg" if CheckPath(img_name)=true then%>
<IMG src="../images/70pixelsTall/<%=rs("ISBN")%>.jpg" width="50" height="70"
border=0>
<% else %>
<img src="../images/70pixelsTall/noimage70.jpg" width="50" height="70"
border=0>
<%end if%>
I want to change this so that it also looks for gifs also. How can I add the
following code or change the original code so it checks/displays gifs if jpg
isn't available.
<% img_name=rs("ISBN") & ".gif" if CheckPath(img_name)=true then%>
<IMG src="../images/70pixelsTall/<%=rs("ISBN")%>.gif" width="50" height="70"
border=0>
<% img_name=rs("ISBN") & ".jpg" if CheckPath(img_name)=true then%>
<IMG src="../images/70pixelsTall/<%=rs("ISBN")%>.jpg" width="50" height="70"
border=0>
<% else %>
<img src="../images/70pixelsTall/noimage70.jpg" width="50" height="70"
border=0>
<%end if%>
I want to change this so that it also looks for gifs also. How can I add the
following code or change the original code so it checks/displays gifs if jpg
isn't available.
<% img_name=rs("ISBN") & ".gif" if CheckPath(img_name)=true then%>
<IMG src="../images/70pixelsTall/<%=rs("ISBN")%>.gif" width="50" height="70"
border=0>