added photo upload capability