toggle image capture