Give command name field for Control like this:
<ItemTemplate>
<asp:ImageButton ID="Image1" runat="server" CommandArgument='<%# Eval("product_id") %>' CommandName="click" Height="200px" ImageUrl='<%# Eval("url")%>' Width="200px" />
</ItemTemplate>
and then in code behind:
protected void Datalist1_ItemCommand(object source, DataListCommandEventArgs e)
{
if (e.CommandName == "click")
{
}
}