I've tried to use light gallery through database by using gridview but unable to zoom image.
https://codeload.github.com/sachinchoolur/lightGallery/zip/master
Pls help.
<asp:DataList ID="DataListImageGallery" runat="server" RepeatDirection="Horizontal" >
<ItemTemplate>
<ul id="lightgallery" class="list-unstyled row">
<li class="col-xs-6 col-sm-4 col-md-3" data-responsive='<%# Eval("ImageURL") %>' data-src='<%# Eval("ImageURL") %>' data-sub-html='<%# Eval("ProductCode")%>'>
<a href="" ><asp:Imagebutton ID="Imagebutton1" runat="server" Height="150px" Width="150px" ImageUrl='<%# Eval("ImageURL")%>' CausesValidation="false" /></a>
</li>
</ul>
</ItemTemplate>
</asp:DataList>
Dim mySelection As String
mySelection = "select * from ProductImages where ProductCode='" & "IB-1001" & "' and PrimarySecondary='" & "Secondary" & "'"
Dim adp As New System.Data.OleDb.OleDbDataAdapter(mySelection, cn0)
Dim dt As New System.Data.DataTable
adp.Fill(dt)
DataListImageGallery.DataSource = dt22
DataListImageGallery.DataBind()
DataListImageGallery.DataKeyField = "ID"