don't try and load an empty string as a photo