Fix the photoPath.