http://aspsnippets.com/Articles/Image-Gallery-using-ASP.Net-GridView-control.aspx
used the css and html from the above sample code , but instead of the actual image i get loader image
i am using datalist to display image
<asp:ListView ID="ListView1" runat="server">
<LayoutTemplate>
<ul class="ProductList">
<asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
</ul>
</LayoutTemplate>
<ItemTemplate>
<li onclick="return LoadDiv(this.src);">
<asp:Image ID="Img1" runat="server" ImageUrl='<%#"../images/"+Eval("photo")%>' Height="200px"
BorderStyle="Double" Width="150px" /><br />
<br />
</li>
</ItemTemplate>
<EmptyItemTemplate>
<div>
Sorry! No Item found found.
</div>
</EmptyItemTemplate>
</asp:ListView>