danfickle / danfickle/openhtmltopdf

images are missing

Open
#103 22 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

Hi ,
I have integrated PdfRendererBuilder to generate pdf file from html file and its working perfectly in the text and other stuffs but images are getting missed out . And I am also getting a warning msg as follows

com.openhtmltopdf.exception WARNING:: Can't read image file; unexpected problem for URI 'https://res.cloudinary.com/dffr0nets/image/upload/2341574.png'

This is generated pdf file
[A0005_170608144956GCo.pdf](https://github.com/danfickle/openhtmltopdf/files/1061730/A0005_170608144956GCo.pdf)

And this is the html display for the same code

![image](https://user-images.githubusercontent.com/10596777/26940720-6697bd0c-4c99-11e7-8f7a-03a331ec8964.png)

Can you please let me know why this is happening and whats the solution . The same works fine if i execute in junit .
This is the file generated from JUNIT .
[ADM001_170608145000z3t.pdf](https://github.com/danfickle/openhtmltopdf/files/1061736/ADM001_170608145000z3t.pdf)

Please help me out .

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.