enabled uploading for a photo