ensure image is selected