• Resolved webtekdev

    (@webtekdev)


    Hello!

    I’m trying to increase the image limit count so that i can optimize the entire uploaded library, which is greater than 250 images. I edited the imsanity.php plugin file and set IMSANITY_AJAX_MAX_RECORDS to “1000”. After searching for the images, the plugin only returns around 430 “found” images in total which is well under the total amount of images in the media library. Is there some other limitation or timeout parameter for the search function that could be cutting the “found” images short of my total library?

    I have my own CloudLinux server running php7.3 which is plenty powerful enough to sustain high, constant load for the resizing process. I have also checked my error logs which are empty. Any guidance would be appreciated!

    Thank you!

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

    (@nosilver4u)

    It only returns images that have dimensions larger than what you have configured, so it should not return all 1000+ unless all of them are actually larger than the dimensions.

    By default, Imsanity uses the attachment metadata, which can cause some false positives if the metadata is out of sync for some reason. In such a case, enable the deep scanning mode which will actually check each individual file directly. It’s slower, but more accurate in such cases.

    Thread Starter webtekdev

    (@webtekdev)

    Wow! Thank you so much for the quick response and additional information! I completely overlooked that option in the settings. Your clarification on it only returning images that have dimensions larger than my set limits also helps clear things up.

    Thanks again for the quick assistance. Your plugin is great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Max Images Count’ is closed to new replies.