Setting JPEG compression for custom image sizes doesn’t work in specific cases
I have a custom image size hello-image: add_image_size( ‘hello-image’, 700, 300, true ); Whenever an image is uploaded, I compress the cropped hello-image sized image to 40% JPEG compression. It works great in all cases except… The problem If the width of the original image is greater than 700px it works just fine. But if … Read more