restoring blob preview functionality