Compress images smaller than 1 Mb




Wordpress LScache Plugin: Compress images smaller than 1 Mb

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi all! WP only compresses uploaded images larger than 1 megabyte. How do I tell it to compress every image on upload? All content is user generated. They upload photos that are 2 ? 4 Mb to posts and comments. All of this gets compressed by LiteSpeed. But, a lot of the images are screenshots, which can be hundreds of Kbs and pass uncompressed. How do I change this? You mean how to make WordPress to compress image smaller than 1MB ? qtwrk thank you for answering. No. WP compresses images larger than 1MB to around 100 KB. But, if the image is smaller than 1MB, it doesnt compress it. So, if a 900 KB image is uploaded, it will add the image to the database untouched. At least, thats how its working currently on my website. okay?.? but shouldnt that to be a WordPress core feature issue, instead of LiteSpeed Cache plugin-related issue?? Youre right. My mistake. Since I was using LiteSpeed Cache to set up the compression, I assumed that this was also a function of that plugin. But, when I installed a different image compression plugin, the issue was still there. Thank you for your help. Sorry for the confusion. no problem , I wish you will find the solution to your issues Thank you !



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference