• Resolved chrisrudge

    (@chrisrudge)


    With this plugin installed and activated, I have tried uploading SVGs into my media library in two different sites — with no luck. I just get a broken image icon. I have tried to upload my own SVG files, as well as existing (i.e. verified) SVGs that I have downloaded from other sources. Any ideas? I think it may be the http versus https thing, but i’m not sure. The two sites are on the same domain.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Benbodhi

    (@benbodhi)

    Hi there,

    Firstly, thanks for your interest in my plugin.

    It sounds to me like a hosting issue or a mixed content issue with http https. I have seen this before with some hosts.

    Try adding this line above your WordPress section in your .htaccess file:
    AddType image/svg+xml .svg .svgz

    Also to check for mixed content warnings, open the page where you get the errors and right click then hit inspect, you should be able to see the console and if there is any mixed content warnings.

    Let me know how you go.

    Thread Starter chrisrudge

    (@chrisrudge)

    That fixed it! It must be a hosting issue. Thanks so much! I had almost given up!

    Plugin Author Benbodhi

    (@benbodhi)

    Glad to hear!
    Thanks for letting me know.

    Just out of curiosity, is it with godaddy? That’s the only host I’ve seen this issue with.

    Thread Starter chrisrudge

    (@chrisrudge)

    No it’s actually with a host called IX-ONE.com. But I have another site with GoDaddy, so this is good to know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘SVG images not uploading (broken)’ is closed to new replies.