• Resolved Corey Kretsinger

    (@corey-kretsinger)


    I’m getting the error

    ——————————
    “1511509_10152788519570288_1287143145_o.jpg” has failed to upload due to an error
    Oh Snap! Imsanity was unable to resize this image for the following reason: ‘File is not an image.’ . If you continue to see this error message, you may need to either install missing server components or disable the Imsanity plugin. If you think you have discovered a bug, please report it on the Imsanity support forum.
    —————————–

    PNG files work fine, but JPG stopped working out of the blue. phpinfo shows that GD is enabled for all, yet it refuses to work.

    I tried adding this “–with-jpeg-dir=./user/local/lib/libjpeg.so” to the top of php.ini and that isn’t working either.

    Maybe you could tell me what I’m doing wrong?

    Thanks,

    Corey

    https://ww.wp.xz.cn/plugins/imsanity/

Viewing 4 replies - 1 through 4 (of 4 total)
  • This can happen for any number of reasons, unfortunately WordPress throws this error without really showing the true details. One can be problems with GD or ImageMagick configuration on the server. Other reasons can be a problem with another plugin or theme. Here’s a post that has some info about that – https://ww.wp.xz.cn/support/topic/uploaded-file-is-not-an-image

    Thread Starter Corey Kretsinger

    (@corey-kretsinger)

    Thanks for such a quick response, Jason!

    I actually just figured it out. The wrong version of the jpg library was being looked for.

    After trying about 20 other things, I ran into a 500 error server wide so I rebuilt Apache with the CPanel defaults and that fixed it.

    I’m still not sure why it all happened. Seems to have been a bad build from a couple of days ago. Not entirely sure.

    Anyway, it’s fixed now. Thanks.

    ~ Corey

    Thread Starter Corey Kretsinger

    (@corey-kretsinger)

    Forgot to mark this as resolved. Doing that now.

    Thanks again, Jason. 🙂

    awesome, thanks for the follow-up!

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

The topic ‘Error’ is closed to new replies.