ciao, il percorso dell'immagine "Img_NonDisponibile_G" è corretto e il codice html della pagina che mi stampa a video è vuoto:cosa sbaglio?codice:<td valign="top" bgcolor="#CFD0CF"> </td>
codice.asp
codice:<% strSql="select top 8 * from FotoProdotti where idprodotto=" & id & " order by id desc" set rs=conn.execute(strSql) dim path_foto, rs path_foto="/public/" dim conta conta=0 if not rs.eof then %> <% while not rs.eof nomeFoto = rs("nomeFoto") size1=70: size2=55 if counter=0 then size1=298 size2=225 end if counter=counter+1 %><a href="show_foto.asp?id=<%=rs("id")%>" onClick="PopUp(this.href,'newpage',800,600);return false"> <img src="<% If path_foto & nomeFoto <> "" Then Response.Write path_foto & nomeFoto Else Response.Write Path_IMG & Img_NonDisponibile_G End If %>" style="border: 1px solid #000000" width="<%= size1 %>" height="<%= size2 %>" border="2"></a> <% if conta=0 then %> <% end if conta=conta+1 rs.movenext wend end if set rs=nothing %>

Rispondi quotando
