Fix for photo posts with the new refactor.