Try Eliminating "~" and check. If you are having APP_DATA under your development project folder, No need to give "~". That should solve your problem.
Your code will be looking like this
<asp:image id="Image1" runat="server" imageurl="/App_Data/images.jpg" xmlns:asp="#unknown" />
I Removed "~" in from Imageurl tag.