Images are not getting displayed in PDF. Please find attached screenshot.

CommentFileSizeAuthor
images_not_visible_in_pdf.png28.93 KBashetkar

Comments

ashetkar created an issue. See original summary.

ashetkar’s picture

Title: Images are not getting display inside PDF (MPDF) » Images are not getting displayed inside PDF (MPDF)
bluegeek9’s picture

Think we need to add a way to log debug information from Mpdf to know why the images are not displaying.

https://mpdf.github.io/installation-setup/logging.html

$logger = \Drupal::logger('pdf_api');
$mpdf = new Mpdf\Mpdf();
$mpdf->setLogger($logger);
nigelcunningham’s picture

Yeah, I want to do a bunch of cleanups to make the whole module nicer and cleaner. Finding the time though... :)

bluegeek9’s picture

Priority: Major » Normal

I created an issue to log the messages from Mpdf

#3400863: mPDF set logger