• Resolved mag

    (@modernartgraph)


    Hi, the plugin works fine, but images don’t show on PDF.
    I added the code to wp-config, but it still doesn’t show.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author David Jensen

    (@dkjensen)

    I’d be glad to help out. Could you let me know what code you pasted into wp-config.php?

    Thread Starter mag

    (@modernartgraph)

    Thanks for the prompt response!
    I used the code in the FAQ.

    define( 'WC_CART_PDF_THUMBNAIL_COMPATIBILITY', true );
    Plugin Author David Jensen

    (@dkjensen)

    Could you try and add the following to your child theme functions.php file? This code snippet has worked for some other users:

    add_filter( 'wc_cart_pdf_mpdf', function( $mpdf ) {
    	$mpdf->curlUserAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36';
    
    	return $mpdf;
    } );

    If that doesn’t work I can do some more digging.

    Thread Starter mag

    (@modernartgraph)

    Yes! that worked.

    thank you so much for the amazing plugin and even more amazing support!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Images dont come up’ is closed to new replies.