Prova così (se il campo del db è NULL)

codice:
<% if isnull(rs("foto")) then %>
[img]images/fotografica.gif[/img]
<% else %>
">[img]images/fotografica.gif[/img]
<%
end if
%>