<table>
<tr>
<% For i = 1 to number_of_Pictures %>
<td>
<img src="<%=i%>.jpg" ...>
</td>
<% If (i mod 5)=0 then %> 'To display 5 pics per row
</tr><tr>
<% End If %>
<% Next %>
</tr>
</Table>
This should do the trick.;)
Cheers!
_________________________
-Vijay G

Strive for Perfection
