edited the capture of selected image in the controller to be of basename.
ref #96