-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
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
Images and internal links don't work? #508
Comments
Try to save your HML to file first and open that file from the folder you saved it and see if you see images. It is obviously a problem with images path. |
Try ending the base path with a "/". That worked for me. |
tymekg
added a commit
to tymekg/node-html-pdf
that referenced
this issue
Oct 4, 2019
Please let me know if anyone got the solution for the internal links |
marcbachmann
pushed a commit
that referenced
this issue
Apr 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am unable to get images to work in the generated PDF, if i prefix the base value with
file://
i get a broken image, otherwise I just get the image alt text.I have links within the HTML to various elements within the same page, these don't work and are prefixed with the value of the
base
property.Any help with images would be greatly appreciated, and is it possible to have internal links?
Heres my code:
The text was updated successfully, but these errors were encountered: