image capture now displays image afterwards