added photocam image capture