• Hi there,

    I’m attempting to crop a jpg image for the Graphene Header, but keep getting the following error:-

    “There has been an error cropping your image”

    This happens no matter what size jpg image I try to crop.

    What is the error and how can I overcome it ?

    Using Graphene 2023 on WordPress 6.1.1/Windows 10

    Thanks.

Viewing 1 replies (of 1 total)
  • Hi, @silverks, @pete048
    I manage to fix it at my child theme by adding the following into the functions.php theme file:

    function ls_graphene_header_image_width( $header_image_width ) {
        if ( $header_image_width < 1 ) {
    	$header_image_width = 1903;
        }
        return $header_image_width;
    }
    
    add_filter( 'graphene_header_image_width', 'ls_graphene_header_image_width' );

    Bests,
    Lena

Viewing 1 replies (of 1 total)
  • The topic ‘Photo for Header Crop Error’ is closed to new replies.