Added photo upload support