QR code not showing in pdf file

Created on 20 August 2024, 4 months ago
Updated 21 August 2024, 4 months ago

Problem/Motivation

I am using QR code field module with Printer and PDF versions to attach a qr code to the pdf file. Everything works fine with the printer version. However, the qr code image is not showing in the pdf version of the node. Is there any way to fix this issue? Where do I have to look in order to find the cause of this?

Thanks

πŸ’¬ Support request
Status

Active

Version

3.1

Component

Miscellaneous

Created by

πŸ‡ΈπŸ‡¦Saudi Arabia wstwd100

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @wstwd100
  • πŸ‡¦πŸ‡ΊAustralia nigelcunningham Geelong

    Hi.

    You'll want to take a look at the way in which your PDF generator is seeking to access the QR code image. It will either be via a file path or a URL. If a URL, perhaps the PDF generator can't resolve the hostname or can't access the URL. If via a file path, configuration such as using a chroot jail or using a relative path and an unanticipated current directory can cause issues like this.

    If you can, I'd recommend using the Puphpeteer submodule - you can just point it at a URL and the PDF it generates is exactly what Chrome sees, so things should be more straight forward.

    Regards,

    Nij

Production build 0.71.5 2024