We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is my code
options = { "enable-local-file-access": True, ... }
pdfkit.from_string(html_file, pdf_file, options=options, ...)
since Im using Django template, here is my code to reference that
<img src="{{ static_root }}{% static '../../target.svg' %}" alt="">
I use a local image file in html, It just shows a blank box in pdf output file
I also tried using "base64" to resolve my issue base on this link https://stackoverflow.com/questions/38329909/pdfkit-not-converting-image-to-pdf
It doesn't really work to me.
The text was updated successfully, but these errors were encountered:
I used png format instead svg format ima file resolves my issue in this case
Sorry, something went wrong.
No branches or pull requests
Here is my code
since Im using Django template, here is my code to reference that
I use a local image file in html, It just shows a blank box in pdf output file
I also tried using "base64" to resolve my issue base on this link https://stackoverflow.com/questions/38329909/pdfkit-not-converting-image-to-pdf
It doesn't really work to me.
The text was updated successfully, but these errors were encountered: