Vuoi vedere solo 6 immagini?
codice:
<%
if not rs.eof then
cont = 1
loops = 1
tot = 6 ' il numero massimo di immagini da visualizzare.
%>
<table>
  <tr>
<%
  do until rs.eof
%>
    <td><%=rs("campoImmagine")%></td>
<%
    if cont = 3 then
      cont = 1
      response.write "  </tr>"
      response.write "  <tr>"
    else
      cont = cont + 1
    end if
    rs.moveNext
    if loops = tot then exit do
    loops = loops + 1
  loop
end if
%>
  </tr>
</table>
<%
end if
%>