I'm developing a web java application, and there are some dynamic images that I want to use in server side to generate a PDF with Flying Saucer.
When im generating the PDF in server side, Flaying Saucer tries to load the image, example:
<img src="https://maps.googleapis.com/maps/api/staticmap?parameters">
But the server has not access to "https://maps.googleapis.com/maps/api/staticmap?parameters" and such url is not in my server, as result the image is not loaded. The PDF is generated and delivered to my user but without the image.
So I want upload the image that the user is seeing, when he/she clicks in the print button.
Is there a way to do this, for example using javascript?
Thanks in advance.
PS: we can use the premier edition