• Resolved techwpdrift

    (@techwpdrift)


    Hello,

    After updating the plugin to version 1.0.3 and reviewing the changelog, it appears a new option has been added to select the desired compression level. Upon inspecting the elements, I found that whichever option is selected, a value is assigned as before. I manually chose the one closest to the value I had previously, and after saving, all the images on my page reappeared in the count of unoptimized images.

    For some reason, it has been detected that logically they are not optimized at the same value chosen after the update in the selector. This is an issue because I might want to optimize new images to Balanced from now on but keep the old ones at a quality level of 90, for example.

    I would like to know if it is possible to choose a quality level with your new selector that does not affect the images that were already optimized previously and does not affect the count of those remaining to be optimized.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pedro

    (@petredobrescu)

    Hello @techwpdrift and thanks for pointing this out!

    Indeed, what you are saying is supposed to be a feature, which comes into place when you have backups enabled. Its purpose is to point out the images in the Media Library that are not optimized at the current optimization level.

    For some reason, it has been detected that logically they are not optimized at the same value chosen after the update in the selector. This is an issue because I might want to optimize new images to Balanced from now on but keep the old ones at a quality level of 90, for example.

    You should be able to do that, unless you plan on running a bulk optimize or manually click on the Optimize Now button.

    I would like to know if it is possible to choose a quality level with your new selector that does not affect the images that were already optimized previously and does not affect the count of those remaining to be optimized.

    This is possible using the filter that was added with this change in the settings, for this kind of situations. In short, you can add this line of code either in your theme’s functions.php file, or by using a plugin such as Code Snippets (please replace 90 with the value you used to have before choosing the new option):

    add_filter( 'resmushit_image_quality', function() { return 90; } );

    Please tell me if you have any other questions!

    Thread Starter techwpdrift

    (@techwpdrift)

    Thank you for your response, Pedro.

    which comes into place when you have backups enabled

    In my case, I have backups disabled. Let me explain the procedure I followed:

    1. The optimization level was set to 90.
    2. I updated the plugin.
    3. I selected the “Balanced”.
    4. I was informed that I have more than 10,000 images unoptimized.

    I should not need to optimize those 10,000 images again. I am satisfied with the optimization level achieved so far, and from now on, I want to use your new selectors.

    However, I don’t see why I should need to re-optimize all the images that have already been updated at a level with which I was previously satisfied.

    I believe that having to maintain an adjustment in functions.php is not the most optimal solution, honestly.

    Thanks for your understanding.

    Plugin Author Pedro

    (@petredobrescu)

    Hello again, @techwpdrift,

    Thank you for your patience with us! Version 1.0.4 of our plugin, which has just been released, fixes this problem. It no longer suggests re-optimizing everything. Instead, a message is displayed in the media library suggesting to “Force re-optimize” if you want to bring the remaining images to the same quality level as in the settings.

    Please let us know if you have any further questions on this topic!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.