• Imsanity successfully generated the list of images that need to be resized, but when I check what I want resized and click the “resize checked images” button, a new box shows up where results would go, and it just stays blank. Nothing else happens. I left it up for a long time just to make sure. Anything I could be doing wrong or ways I could fix this?

    https://www.ads-software.com/extend/plugins/imsanity/

Viewing 14 replies - 1 through 14 (of 14 total)
  • hmm the ajax call most likely crashed. if you have chrome or firefox you can use the debug window to see what the result of the ajax post is – there might be some clue as to what went wrong.

    Same Issue Here. I’ll be eager to see if this gets resolved. Cheers to all involved!

    I have a question – on my blog have around 150 featured images 500×333 which I’d like to change to 704×400. Will imsanity do this? If not does someone know of a plugin that will?

    Thanks

    I have a question – on my blog have around 150 featured images 500×333 which I’d like to change to 704×400. Will imsanity do this? If not does someone know of a plugin that will?

    Thanks

    can any of you that are having the problem try it with Chrome browser and open up the debug console (View->Developer->Javascript Console)

    With the consol open go to the “Network” tab

    Then try to do the bulk resize

    The network console should show the AJAX request being sent to the server. If you click on that you can see the server response. Hopefully that will contain error info.

    – findlay62 imsanity will only reduce images, not increase their size.

    Hi Jason, screenshot of your request:
    https://tinyurl.com/imsanityRJ1

    cheers!

    aha perfect!

    it looks like a bug happening on WP installs lower than 3.5 I just updated imsanity to version 2.2.2 which should get fix that one.

    if you update and it’s still not working, send me the console output again. hopefully this resolves it though.

    thanks for the info!

    Thread Starter dsdmdesign

    (@dsdmdesign)

    I got something completely different:
    Uncaught SyntaxError: Unexpected end of input – imsanity.js:36

    I am running WP 3.5.1. Updating the plugin doesn’t seem to fix it.

    >>aha perfect!
    it looks like a bug happening on WP installs lower than 3.5 I just updated imsanity to version 2.2.2 which should get fix that one.
    if you update and it’s still not working, send me the console output again. hopefully this resolves it though.<<
    —————–
    Quick check on this end shows that this did the trick!! Yeah!!! Man, this is the planet to be on! Thanks Jason!

    Hm, I’ve got the same symptoms as described by the original poster (click the “resize checked images”, blank box opens).

    I’m running WP 3.5.1 and plugin 2.2.2.

    Here’s what I’ve captured in the java console when I click the button:

    SyntaxError: JSON.parse: unexpected end of data @ https://www.example.com/hrwp/wp-content/plugins/imsanity/scripts/imsanity.js:36

    (anonymous function) imsanity.js:36
    l load-scripts.php:2
    c.fireWith load-scripts.php:2
    T load-scripts.php:2
    r load-scripts.php:2

    Khalid

    (@khalidansari)

    I am also running WP 3.5.1 and plugin 2.2.2
    I get exactly the same error message as highrollerusa.com above

    OK there’s two problems. First is that an image isn’t being resize. Second is that the javascript is not handling the error response from the server and is crashing.

    I just updated the plugin to version 2.2.3 which fixes the issue of the javascript handling the error. So this is not going to fix the root cause, but what it should do is handle the error response and keep going. It should write out to the console whatever the root error was.

    If anybody having this problem could update and give it another try with your debug console open, that would be great. That information should help me to see the root cause and figure out how to fix it.

    Thanks!

    Thanks, Jason. I just updated the plugin and tried to resize an image (in post 279).

    After I hit the “Resize Checked Images” button, the box opened with this:
    “Error parsing server response for POST 279: JSON.parse: Unable to parse value: . Check the console for details.
    RESIZE COMPLETE”

    Console says:
    Invalid JSON Response:
    imsanity.js:39

    Hope this helps!

    thanks for running that. Well, what that indicates is that a PHP error occurred, but you most likely have PHP error reporting turned off. So something crashed, but the server isn’t going to show the output. In the console after “Invalid JSON Response:” you should see something – a bunch of HTML or text or anything. But instead it appears to be just an empty response, which usually means PHP error happened but it’s not going to display it.

    Without being able to see the error there’s almost no way for me to fix it. But, if you are up for continuing the troubleshooting then you could either check the server error logs – or go into php.ini and enable error reporting temporarily so that it will output the PHP error that is happening.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Clicking "Resize Checked Images…" doesn't work’ is closed to new replies.