capture and pick image