Call this method on PageLoad()
public void CreateDynamicControl(string imageUrl)
{
ImageButton _imgBtn = new ImageButton();
_imgBtn.ID = "ImageButton1";
_imgBtn.ImageUrl = imageUrl;
_imgBtn.Height = new Unit(50);
_imgBtn.Width = new Unit(100);
this.Form.Controls.Add(_imgBtn);
}