jsPDF icon indicating copy to clipboard operation
jsPDF copied to clipboard

Images not loading when pdf created in Express

Open Russelldan554 opened this issue 3 years ago • 1 comments

I have read and understood the contribution guidelines.

I am having trouble getting jsPDF to work in an express route in node. I have the exact same code working in my react frontend from when I was testing but once moved to the backend it fails to add images from a url however everything else seems to work.

I have a sample react version in this sandbox https://codesandbox.io/s/solitary-resonance-2h0frw?file=/src/App.js

and a node express version in this one https://codesandbox.io/s/express-generator-demo-forked-3f5i3e?file=/app.js

for the express demo I just returned the datauristring and I put that in an iframe locally to test but in reality I am saving these to S3 which I have working except no Images appear on the created pdf.

Russelldan554 avatar Jun 02 '22 17:06 Russelldan554

This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.

github-actions[bot] avatar Sep 02 '22 02:09 github-actions[bot]

This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.

github-actions[bot] avatar Dec 02 '22 02:12 github-actions[bot]