imagePicker works with minor bugs