hajareshyam / pdf-creator-node

This package is used to generate HTML to PDF in Nodejs
MIT License
238 stars 80 forks source link

External images suddenly not loading? #75

Open MattWIP opened 2 years ago

MattWIP commented 2 years ago

Hey All -

We've been using this package on a Heroku server for about a year now, and all of a sudden none of the generated PDF's can load in their external images. Anybody experiencing something similar & can point me in the right direction here?

paulo-dev-xpectral commented 2 years ago

I'm experiencing this too

paulo-dev-xpectral commented 2 years ago

@MattWIP I downgraded to version 2.2.2 and it's working.

MattWIP commented 2 years ago

@MattWIP I downgraded to version 2.2.2 and it's working.

Unfortunately, this did not work for me. Can I ask where you have your app deployed? I'm beginning to think its a limitation from Heroku (maybe a recent update on their end)

donburks commented 1 year ago

This solved my problem, but only because the image was stored on the same machine, not fully externally:

https://github.com/hajareshyam/pdf-creator-node/issues/2#issuecomment-893684637