add image controller and view.