I need to list images from the server. The problem is that, first image needs to be in different div. I dont know what I do wrong here. The following code lists images as;
1.jpg1.jpg 2.jpg 3.jpg
but it needs to list as;
1.jpg2.jpg 3.jpg
<div id="main">
<a href="<%=IMAGES(0)%>" title="<%=objProduct("PRODUCTNAME")%>"><img src="<%=IMAGES(0)%>" alt="<%=objProduct("PRODUCTNAME")%>" id="productimage" /></a>
<%
i = 0
For Each IMAGE In IMAGES
i = i + 1
%>
<a href="<%=IMAGE%>" title="<%=objProduct("PRODUCTNAME")%>"></a>
<%
Next
%>
</div>