Revert "Support svg as preview."

This reverts commit 283a88061389970a196cde1ecfdde76e42503a77.