• Resolved jupitupi

    (@jupitupi)


    I noticed that the new version of Smush does not scale the original image, but only creates a new file with the name “scaled”. Until now, the original large file was reduced without renaming. How can I avoid creating files with the name “scaled”, but that the original file should be smaller and not upload in the original size? Until now I was happy with the plugin, but the new version has a change for the worse. Can I ask for a link to the plugin version, in which the original image is reduced without creating an additional copy of the image?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @jupitupi,

    Creating scaled image size is not done by Smush and this is a default WordPress functionality that was introduced with WordPress 5.3

    You can try disabling this by adding below function to your child theme functions.php file:
    add_filter( 'big_image_size_threshold', '__return_false' );

    Hope this helps.

    Cheers,
    Predrag

    Thread Starter jupitupi

    (@jupitupi)

    IT HELPED! Thank you very much! Now instead of 4 pictures I only get 2 pictures (normal and thumb).

    • This reply was modified 4 years, 10 months ago by jupitupi.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Smush leaves the original image instead of overwriting it and creates an additio’ is closed to new replies.