Title: Process all images
Last modified: March 7, 2024

---

# Process all images

 *  Resolved [dingdang](https://wordpress.org/support/users/dingdang/)
 * (@dingdang)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/process-all-images/)
 * Hello,
 * these two:
   – delete originals– compress ratioare applied actually only when a
   resize is done. Is there a way to process ALL images and:– delete originals (
   even if the image is not supposed to be resized, because it fits in the limits)–
   rewrite the image (to apply the lower set image quality, even if the image is
   not supposed to be resized, because it fits in the limits). Ideally here the 
   rewrite should be done to a temp file, compare sizes and rewrite only if it is
   in specific threshold of optimized size (i.e. if the size of the file becomes
   greater, or lower but w/o a big difference, to ignore the rewrite process).

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

 *  Plugin Support [adamewww](https://wordpress.org/support/users/adamewww/)
 * (@adamewww)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/process-all-images/#post-17494928)
 * The “Delete Originals” option is not something that is generally doing anything
   to your images. It is referring to [https://make.wordpress.org/core/2019/10/09/introducing-handling-of-big-images-in-wordpress-5-3/](https://make.wordpress.org/core/2019/10/09/introducing-handling-of-big-images-in-wordpress-5-3/)
 * When you upload an image that is larger than 2560px, WordPress (not Imsanity)
   automatically scales that image down and appends the new image with -scaled and
   uses that new image for everything. However, the overly large image that you 
   initially uploaded is still sitting there, mainly just taking up space. This 
   option gets rid of those.
 * If you are looking to manage your resizes better, I would recommend looking at
   using Force Regenerate Thumbnails and EWWW Image Optimizer. In EWWW, you can 
   select which resizes are generated and then with Force Regenerate Thumbnails,
   it deletes all of the resizes and regenerates only the ones you selected in EWWW.
 *  Thread Starter [dingdang](https://wordpress.org/support/users/dingdang/)
 * (@dingdang)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/process-all-images/#post-17495361)
 * Hello,
 * I think you didn’t understood my question, but unfortunately I checked the code
   and the answer to my question is NO.
 * Once again – it is about forcing rewrite of images even when there is no need
   to resize – just to apply different quality of JPEG.
 *  Plugin Support [adamewww](https://wordpress.org/support/users/adamewww/)
 * (@adamewww)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/process-all-images/#post-17498460)
 * I apologize. I’m glad you were able to find your answer.
 *  Thread Starter [dingdang](https://wordpress.org/support/users/dingdang/)
 * (@dingdang)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/process-all-images/#post-17498638)
 * 🙂 Well I haven’t find it, I have to patch your code to achieve what I need… 
   You could think of a little extension to the plugin, it would be usable to others.

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

The topic ‘Process all images’ is closed to new replies.

 * ![](https://ps.w.org/imsanity/assets/icon.svg?rev=2420360)
 * [Imsanity](https://wordpress.org/plugins/imsanity/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/imsanity/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/imsanity/)
 * [Active Topics](https://wordpress.org/support/plugin/imsanity/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/imsanity/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/imsanity/reviews/)

## Tags

 * [all images](https://wordpress.org/support/topic-tag/all-images/)

 * 4 replies
 * 2 participants
 * Last reply from: [dingdang](https://wordpress.org/support/users/dingdang/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/process-all-images/#post-17498638)
 * Status: resolved