• Resolved suryamaya

    (@suryamaya)


    Need to delete the original images after the scaled images are generated. Does the plugin has feature to do so?

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

    (@tinypng)

    Hey there,

    Thanks for reaching out!

    Currently, the TinyPNG plugin does not include a feature to automatically delete the original image after WordPress generates the scaled version.

    It’s important to note, though, that when you use the plugin to compress an image, it will replace the original image with the compressed version.

    Thread Starter suryamaya

    (@suryamaya)

    Thank you for the response.

    As you mentioned the original image is not replaced by compressed one. Please see the screenshot in this link. We can see the first image is scaled image and the last one the original image and it has the same size I have uploaded.

    Please note that I have ticked “Original image (overwritten by compressed image)”. Can you please advise what could be the issue here as in why the original image is not compressed?

    Plugin Author TinyPNG

    (@tinypng)

    Hi again,

    In WordPress 5.3, a new feature was added that automatically creates a “-scaled” version of your images if they have a width or height larger than 2560 pixels. For such images, WordPress will serve the?scaled?version and it will not use the actual original image. This scaled?version will be compressed by the TinyPNG plugin if you enable the original to be compressed.

    If you prefer to have the original image compressed instead of the scaled?version, you can disable the creation of scaled?images by WordPress and let the TinyPNG plugin handle the resizing. This way you will not have both an optimized scaled?version and an unoptimized original version on the server. See for example?https://darkog.com/blog/how-to-disable-wordpress-5-3-image-downscaling-feature?on how to disable the creation of a -scaled version.

    Hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Delete the original image after scaled image is generated’ is closed to new replies.