Remove hard coded domain for photo upload.