• Hi,

    when i use the following command in the functions.php, the plugin gives error message “Failed to crop image” when cropping:

    add_filter('jpeg_quality', function($arg){return 75;});
    add_filter('wp_editor_set_quality', function($arg){return 75;});

    The error occurs only on the live server (default webhoster).

    WP 5.7
    Advanced Custom Fields: Image Aspect Ratio Crop Field, Version 5.1.2
    ACF Pro, Version 5.9.5

  • The topic ‘Failed to crop image, wp_editor_set_quality, jpeg_quality’ is closed to new replies.