Support » Plugin: Regenerate Thumbnails » Resize failure on some images with odd message

  • Hello,
    A few images were failed to resize and I get the following error/output:

    function (){if(h){var d=h.length;!function f(b){n.each(b,function(b,c){var d=n.type(c);”function”===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&”string”!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this}

    could somebody help me with this?

    thanks

    https://wordpress.org/plugins/regenerate-thumbnails/

Viewing 9 replies - 1 through 9 (of 9 total)
  • I also encounter the very same message. Will wait for the author to reply on this thread.

    Adi

    Hi,

    Try to modify the permission of your uploads folder. If you look at the actual response received by your browser, you might see something like write permission denied.

    Hope this helps.
    Cheers

    cjhaas

    (@chrisvendiadvertisingcom)

    We ran into this because we were using bt_image_resize which was calling the deprecated wp_load_image() function. The fix for us was to recreate that function in our code from here: https://core.trac.wordpress.org/browser/tags/3.9.2/src/wp-includes/deprecated.php#L3204 and then change the first line in bt_image_resize to reference our new function

    We ran into this because we were using bt_image_resize which was calling the deprecated wp_load_image() function. The fix for us was to recreate that function in our code from here: https://core.trac.wordpress.org/browser/tags/3.9.2/src/wp-includes/deprecated.php#L3204 and then change the first line in bt_image_resize to reference our new function

    I’ve the same problem for the first time in this plugin.
    And one other : “This is likely due to the image exceeding available memory or some other type of fatal error.”

    I don’t if this are come from the same problem but I’ve tried everything and no way. CHMOD 777, increase allocated memory, increase max transfert size…

    Anyone have found solution ?

    Thank you
    CU

    I am seeing the same error message too.

    Gabe Shackle

    (@hereswhatidid)

    I’m also getting this error in WP 4.0.

    Same problem here, but only with two images which are the largest images on my side. Both over 2 MB in size. One e.g. 5472×3080 px.

    Whoa. Why in the world would you upload an image of 2 megs? Resize before you upload unless you have a very specific use case to have images to be that large.

    This is a part of a code from the jQuery library, to be specific this part is responsible for handling callbacks. It is displayed, because the reponse from wordpres is unparsable JSON data. If you try to regenerate the thumbnails again in firefox you can open the network tool from the developer tools and read the response from wordpress. In my case it was: `
    Warning: copy(/var/app/current/wp-content/uploads/2014/11/reindeer.jpg): failed to open stream: No such file or directory in /var/app/current/wp-admin/includes/class-wp-filesystem-direct.php on line 231
    {“error”:””reindeer” (ID 5149) failed to resize. The error message was: The originally uploaded image file cannot be found at <code>http:\/\/mysite.com\/wp-content\/uploads\/2014\/11\/reindeer.jpg<\/code>”}`

    From there you need to figure out what to do, depending on the error message.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Resize failure on some images with odd message’ is closed to new replies.