Skip to content
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

Linked image in HTML is missing. #79

Open
mkukulka opened this issue Feb 3, 2020 · 7 comments
Open

Linked image in HTML is missing. #79

mkukulka opened this issue Feb 3, 2020 · 7 comments

Comments

@mkukulka
Copy link

mkukulka commented Feb 3, 2020

Hi,
I saw in Closed issues that this bug was fixed. Netherless I still get the problem. I want to add image to footer of generated PDF. Image is stored locally. My html code looks like:

< img src="./images/footerjpg.jpg" alt="obrazek do footera" width="500">
< br/>
< p style="text-align: center; font-size: 10px;">Test wklejenia HTML w markdown

I attach an image of generated PDF's footer.
Adnotacja 2020-02-03 134127

@elliotblackburn
Copy link
Owner

#18 was the original issue for this, also ccing @lud since they've posted on there recently.

First off, really sorry about this, clearly this is an issue. I've got the zip from the previous issue, I'll take a look at this asap and try to figure why it's happening. Hopefully it won't be a tough fix if I can get to the bottom of it quickly. If you have further examples then please add a preformatted example of the header, and an example of your directory so I can make sure I'm mirroring your setup.

@mkukulka
Copy link
Author

mkukulka commented Feb 4, 2020

Hi,
Please download files I use to generate PDF:
https://integroit-my.sharepoint.com/:u:/g/personal/maciej_kukulka_it_integro_pl/EWdKvpbLjvtLpvv-ukERN2YBhunnuSpQ8kFX0GjrMr09oQ?e=22fj95
link expires 05/02/2020.

@jooola
Copy link
Contributor

jooola commented Mar 8, 2020

Unsure if this one is related: showdownjs/showdown#768

@jooola
Copy link
Contributor

jooola commented Apr 6, 2020

Any update on this one ?

@elliotblackburn
Copy link
Owner

Hey, sorry I've not had a chance to look at this recently. The whole covid-19 thing has me snowed under at work and life so I don't have a huge amount of time right now. I did pull the project zip file though so I can investigate when I get a bit of time. I'm looking forward to trying to track this one down, but until then if anyone else wanted to have a crack then I'm happy to look at PR's or review results of debugging 😄

@maphstr
Copy link

maphstr commented Sep 14, 2022

Fixed so you at least can use a base64-image and colored backgrounds in header in this fork, https://github.com/maphstr/mdpdf
npm: mdpdf_jm

@mr-potato-head
Copy link

Thanks for the fork @maphstr, it works like a charm <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants