così?
codice:
if RS("immagine")<>""then
Response.write "<td>foto</td>"
end if