• Resolved joed54

    (@joed54)


    Having a problem with the plugin. Upon uploading the svg I get an error. These images were made with Sketch 2.

    Post-processing of the image failed likely because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2500 pixels.

    I am running:
    PHP 7.3.28
    nginx/1.20.0
    WordPress 5.7.2

    Is there an issue with that version of PHP? Should I try switching to a lower one? Thank you.

    • This topic was modified 4 years, 9 months ago by joed54.
    • This topic was modified 4 years, 9 months ago by joed54.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Benbodhi

    (@benbodhi)

    Hi there,

    Sounds like you just need to tweak some limits in your hosting setup.
    Might be worth talking to your hosting support to get them to help you get the right settings.

    Otherwise, sounds like the image is just way too big. How big is the file size? Typically you’d want it to be as small as possible for faster load times.

    Let me know if I can be of any more help.

    Thread Starter joed54

    (@joed54)

    I am actually on a local vagrant machine running Ubuntu 18.04. I couldn’t find anything about this when researching the error, but will try that. Seems unlikely since the SVG is about 17kb and I have uploaded much larger files than that in my local environment.

    All SVG plugins I found failed (ex. Safe SVG as well) except this one worked out of the box:

    https://wordpress.org/plugins/easy-svg/

    Thanks for your reply,

    • This reply was modified 4 years, 9 months ago by joed54.
    • This reply was modified 4 years, 9 months ago by joed54.
    • This reply was modified 4 years, 9 months ago by joed54.
    Plugin Author Benbodhi

    (@benbodhi)

    Oh that’s interesting!
    I think that plugin uses his library to sanitize SVG files. So it could be that your SVG has something whack in it and that plugin actually sanitized it and made it valid.

    I don’t have a sanitizer because I needed the ability to keep the SVG code exactly as it was uploaded. But I am actually thinking about adding sanitization as an optional feature.

    Are you willing to share your SVG file so I can have a play with it?

    I suspect apt-get install php-xml in your vagrant machine may fix it

    Plugin Author Benbodhi

    (@benbodhi)

    Thanks for adding this @johnlines

    This post also has more info:
    https://wordpress.org/support/topic/post-processing-of-the-image-failed-8/

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Post-processing of the image failed likely because the server is busy, etc.’ is closed to new replies.