• Resolved amyripplenami

    (@amyripplenami)


    Currently I images will do not display in the PDF, instead, I get a red X. They display fine in the print version.

    I read in another post that the plugin wasn’t compatible with Jetpack so I uninstalled it, but no luck, images still do not display.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Thank you for contacting us!

    In order to detect the problem, please go via FTP to {wp_root_folder}/wp-content/plugins/pdf-print;
    1. Find “pdf-print.php” file and open it in the edit mode;
    2. Find the following line: $mpdf->allow_charset_conversion = true; and insert $mpdf->showImageErrors = true; after it;
    3. Save changes and check the plugin’s work again.

    If you see any errors or warning messages please provide us with them.

    I have same problem with this plugin – images display in the print version, but no images in PDF file – exclude Site Header image, if i set option “Whole page PDF”.
    I was insert string “$mpdf->showImageErrors = true;” into “pdf-print.php” file according to your recommendations, but no saw any errors or warning messages.

    Are there any other recommendations for finding out the reasons / solving the problem?

    FreeBSD 11.4-RELEASE-p3 amd64;
    nginx-1.18.0;
    WordPress 5.5.3 with Bam theme;
    PHP 7.4.12;
    PDF&Print version 2.2.3

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    You could try to do next steps:
    – upgrade MPDF library on the PDF&Print settings page if you didn’t do it yet
    – check image permissions (it should be 755)
    – insert other image type (Ex: png image) and check the plugin’s work again
    – check redirect and permission settings in .htaccess file and server configuration

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Images don’t display on PDF’ is closed to new replies.