SVG Previews no longer show in version 4.0
-
Hi, I was using SVG image files in my theme before the upgrade to 4.0 and the images would preview in the backend just fine (like in the media manager), however, now they do not preview and I am met with a gray document icon when viewing them in version 4.0.
I’m not using a plugin to add svg uploadability, just using some standard code in my functions.php
function my_myme_types($mime_types){ $mime_types['svg'] = 'image/svg+xml'; //Adding svg extension $mime_types['mp4'] = 'video/mp4'; $mime_types['mp3'] = 'audio/mp3'; return $mime_types; } add_filter('upload_mimes', 'my_myme_types', 1, 1);
Any ideas? is it a bug? Thank you for reading.
Even though this is feedback…maybe this should be in the troubleshooting section.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘SVG Previews no longer show in version 4.0’ is closed to new replies.