Support » Plugin: Imsanity » Resized image was larger than the original

  • Resolved prompos123

    (@prompos123)


    Your plugin seemed like the solution to a problem that I have with oversized images but unfortunately I’ve run into a problem.

    I have a client with over 26000 images and your plugin has a limitation of 250 results. The first time I ran the Bulk Resize search it found almost 250 images that couldn’t be resized due to the ‘Resized image was larger than the original’ error.

    I have set the image max to 500×500 and the images it won’t resize are approximately 600×600. I understand that the originals have been optimized and that their file size maybe less then Imsanitys output, but this doesn’t help because I can’t get past the limitation of 250 results.

    What is my best option?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    You can override the # of images returned in each batch by defining IMSANITY_AJAX_MAX_RECORDS in your wp-config.php (not in functions.php, as it will be too late in the process), like so:

    define( 'IMSANITY_AJAX_MAX_RECORDS', 1000 );

    Make sure you put it after the first line with the PHP open tag, and before the line that says to stop editing.

    prompos123

    (@prompos123)

    Perfect! Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Resized image was larger than the original’ is closed to new replies.