allcolor / YaHP-Converter

YaHP is a Java library that allows you to convert an HTML document into a PDF document.
GNU Lesser General Public License v2.1
56 stars 23 forks source link

On-premise Image can't be included converter into pdf #41

Open milkdeliver opened 8 years ago

milkdeliver commented 8 years ago

Hi Quentin,

Recent a problem about accessing on-premise resources has been raised .

The images which are stored in the on-premise system can't be included in the pdf file during converting.In the other way I can access them by creating HTTPClient with authorization in the request header.

Do you have any idea to let converter access the image during converting?

Thanks & Regards, Sam

allcolor commented 8 years ago

Hi, the images must be available through an url without requiring any authentications. A workaround would be to have the images accessible through the filesystem and use file:/ url to access them.

Regards Le 16 mars 2016 04:15, "Milkdelivery" notifications@github.com a écrit :

Hi Quentin,

Recent a problem about accessing on-premise resources has been raised .

The images which are stored in the on-premise system can't be included in the pdf file during converting.In the other way I can access them by creating HTTPClient with authorization in the request header.

Do you have any idea to let converter access the image during converting?

Thanks & Regards, Sam

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/allcolor/YaHP-Converter/issues/41