eswar rao

eswar rao

  • 1.6k
  • 98
  • 19.3k

how to implement image gallery using binary image in asp.net

Dec 19 2015 4:55 AM
friends,
 
i would like to develop a gallery page that already 50 % completed but i have images in binary format , i displayed  all the images , but i want when i click  on image button it will shows the full length ...so how can i write a code for that please tel me.....   
 
 
 
<asp:DataList ID="dl_testimonials" Height="550px" CellSpacing="2" CellPadding="1" Width="100%" RepeatLayout="Table" RepeatDirection="Horizontal" RepeatColumns="4" runat="server">
<ItemTemplate >
<div id="dl_galitmback">
<asp:ImageButton ID="img_testiuser" CssClass="img_gallery" ImageUrl='<%# "getgalleryimg.aspx?id=" + Eval("gid") %>' rel="prettyPhoto[pp_gal]" runat="server" />
<%--<a href='<%# "getgalleryimg.aspx?id=" + Eval("gid") %>' rel="prettyPhoto[pp_gal]" title="'<%#Eval("caption") %>">
<img src='<%# "getgalleryimg.aspx?id=" + Eval("gid") %>' width="60" height="60" alt='<%# Eval("displayname") %>' />
</a>--%>
</div>
</ItemTemplate>
</asp:DataList>
 

Answers (2)