Make photo_directory accept None