• Resolved jtg

    (@favdes)


    Hello,

    Firstly, thank you for such a great plugin. It is excellent.

    My only issue is that we have installed it on a site that has been running for some time and has lots of images already uploaded to it.

    When I use the plugin to resize these images, it does the first 250 but then I run it again, it simply rechecks the first 250 meaning that images 251, 252, 253 etc. never get checked or resized.

    I have added ‘define( ‘IMSANITY_AJAX_MAX_RECORDS’, 500 );’ to the wp-config.php file although this does not seem to work.

    What I’d really like is for the plugin to process recursively or if you could point it at a directory, resize images there then run it again, pointing it at a different directory.

    As I say, the plugin is excellent but for us it is limited because we already have so many images on the site.

    Can anything be done?

    Kind regards

    James

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

    (@nosilver4u)

    If that constant isn’t working, the most likely reason is putting it too far down in the file. Make sure to put it above the line that says something like “stop editing here”.

    The reason for displaying the same images is because the attachment metadata hasn’t been updated, which is causing Imsanity to think the images are still larger than they really are. It’s not exactly clear what causes this, but I have a fix in mind when I can take a break from development on our other plugins. Speaking of which, the EWWW Image Optimizer features the same resizing capability plus it makes sure the images are properly compressed, so that might be a suitable alternative for you.

    Thread Starter jtg

    (@favdes)

    Hey,

    Thank you for getting back to me so quickly.

    You were right, I moved the constant up in the wp-config.php file and that has worked.

    I’ll take a look at EWWW Image Optimizer now.

    Thanks again.

    James

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

The topic ‘Too Many Images’ is closed to new replies.