• Resolved faydra_deon

    (@fieldsf)


    I’m adding this to the Support area in case anyone else runs into this issue and thinks the problem is the plugin.

    It is not the plugin.

    If your SVG is over 10MB, then it cannot be sanitized with the built-in?DOMDocument?PHP library, and your SVG upload will fail.

    My file was 10.88MB. Yes, that 0.88MB overage matters.

    You will need to compress your SVG and get it under 10MB in order to upload it.

    I did a Google search for SVG compressors, and the free versions are very limited.

    https://vecta.io/nano <– This one won’t let you upload an SVG larger than 5MBs.

    https://www.iloveimg.com/compress-image/compress-svg and https://www.svgvector.com/online/svg-mini/ <– These compressed my SVG from 10.88MBs to 10.72MB ??

    https://compress-or-die.com/svg <– This one has an 8MB limit

    I eventually just re-opened my AI file in Adobe Illustrator (which everyone does not have) and tinified my SVG from 10.88MB to 573KB.

    Again, I hope this helps someone else. I spent about an hour researching to figure out what was going on.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SVG Upload Not Working and How to Fix It’ is closed to new replies.