Tagged: svg
For some reason, I can no longer upload SVG files. I have done this many times before with Enfold while using the plugin SVG Support.
I have tried turning off all the plugins with no luck.
I also tried adding this to the functions.php, yet it didn’t work.
function cc_mime_types($mimes) {
$mimes[‘svg’] = ‘image/svg+xml’;
return $mimes;
}
add_filter(‘upload_mimes’, ‘cc_mime_types’);
I also tried a plugin called Enhanced Media Library, it didn’t work.
I don’t want to to use this as suggested in other Enfold posts ” define(‘ALLOW_UNFILTERED_UPLOADS’, true);” as this is a major security issue.
Any other suggestions? I’ve added the sites login info.
Hey Snerp,
Can you check if your hosting provider has added any limits please?
Best regards,
Basilis
Hi Snerp
I am using SVG support as well and it works like a charm.
Guessing it is something with your server config. Maybe there is a message about it in the server log as well if you try to upload it.
Cheers
Michael
Thanks, I’ll check that out, although I have all my clients sites on one host using the same package. Also, I have used SVG Support for many sites using enfold and the same host, etc without issues. Weird.