WordPress.org

Ready to get started?Download WordPress

Forums

Imsanity
Clicking "Resize Checked Images..." doesn't work (15 posts)

  1. dsdmdesign
    Member
    Posted 1 year ago #

    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?

    http://wordpress.org/extend/plugins/imsanity/

  2. Jason
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. RenoJohn
    Member
    Posted 1 year ago #

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

  4. findlay62
    Member
    Posted 1 year ago #

    I have a question - on my blog have around 150 featured images 500x333 which I'd like to change to 704x400. Will imsanity do this? If not does someone know of a plugin that will?

    Thanks

  5. findlay62
    Member
    Posted 1 year ago #

    I have a question - on my blog have around 150 featured images 500x333 which I'd like to change to 704x400. Will imsanity do this? If not does someone know of a plugin that will?

    Thanks

  6. Jason
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  7. RenoJohn
    Member
    Posted 1 year ago #

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

    cheers!

  8. Jason
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  9. dsdmdesign
    Member
    Posted 1 year ago #

    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.

  10. RenoJohn
    Member
    Posted 1 year ago #

    >>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!

  11. highrollerusa.com
    Member
    Posted 1 year ago #

    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 @ http://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

  12. Khalid
    Member
    Posted 1 year ago #

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

  13. Jason
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  14. highrollerusa.com
    Member
    Posted 1 year ago #

    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!

  15. Jason
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags