Support » Plugin: Advanced Custom Fields: Image Crop Add-on » Cropped images larger?

  • Did some testing with this plugin today. I use ‘Imsanity’ to limit the size of images uploaded to my site. Anything over 2200 pixels wide is resized and compressed to the standard 82 quality. After uploading a large image, I then cropped it with an ACF image crop field, and the crop width was 750px. I then looked on the server, and the ACF cropped file, though smaller in width, was quite a bit larger on disk. The original was around 280KB and the cropped jumped to 500K. This is a deal killer for me… I’m better off just using the originals and sizing with CSS.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I think by default this plugin is set to 100 quality, you can use a filter in functions.php or wherever to overwrite this:

    add_filter('acf-image-crop/image-quality', function($arg){return 90;});

    Thanks Patrick. This should really be an option in the plugin. I used this on 20+ websites before I realized my cropped images were way larger than the originals I’d uploaded. Really frustrating. Have removed this plugin from pretty much all of those sites now.

    So has this been fixed?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cropped images larger?’ is closed to new replies.