• Resolved okelloemma

    (@okelloemma)


    Hello there,

    I am building my site on localhost. I wanted to upload my logo as SVG. I have tried adding code snippet from https://library.wpcode.com/ and activating but on uploading the svg, i get the error message ‘the file is not allowed for security reasons’. What could be the problem.

    kind regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @okelloemma,

    If you added the “Allow SVG Uploads” code snippet from the library and you still can’t upload SVG files there might be something else (another plugin or configuration) overriding it.

    Did you copy/paste the code or install the snippet from inside the plugin in WordPress?

    Thread Starter okelloemma

    (@okelloemma)

    Hello,

    thank you for the fast response. First, i copied the code and pasted it then it didn’t work. Then i deactivated it. I went back to the wpcode website then i clicked the option to ‘use snippet’ which then redirected me to my website and i installed the code. But still this has not worked.

    Plugin Author Mircea Sandu

    (@gripgrip)

    Since this is a local website, would it be possible to try disabling other plugins temporarily just to rule out another plugin overriding the code snippet added through WPCode?

    Thread Starter okelloemma

    (@okelloemma)

    Okay please. Let me do that and see.

    Thread Starter okelloemma

    (@okelloemma)

    So i have deactivated almost all the plugins and your suggestion has worked. The svg logo has uploaded. Now how do i go around this to know which plugin was the problem. For your information, I was using header and footer builder provided by ElementsKit to build my header.

    Plugin Author Mircea Sandu

    (@gripgrip)

    In order to find which plugin is interfering you will need to try to upload the SVG each time after activating each plugin until the upload doesn’t work again.

    Thread Starter okelloemma

    (@okelloemma)

    Okay please. Thank you. I’ll get in touch after trying this your suggestion.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘SVG support snippet’ is closed to new replies.