The ImageButton control has a PostBackUrl property.
Assign/bind this to the url from the data base record for the image.:
<asp:imagebutton runat="server" id="selectImageButton" xmlns:asp="#unknown">
PostBackUrl='<%# Eval("url")%>' />
</asp:imagebutton>
Hope this helps.