Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1100273

    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.

    #1101183

    Hey Snerp,

    Can you check if your hosting provider has added any limits please?

    Best regards,
    Basilis

    #1101307

    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

    #1101748

    Hi,

    Thanks for sharing @michaelH :-)

    Best regards,
    Rikard

    #1101859

    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.

    #1102164

    Hi Snerp,

    Thanks for the update, that is a bit weird yes. Let us know if you should need any further help on the topic.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.