Closed DeveloperInResidence closed 8 years ago
Hi, the module creates HTTP requests to load the resource in the PDF so the Authenticated call doesn't works since uses other headers.
Oh, I see, so it has to be completely openly accessible images? Guess I can create a temporary image, create the PDF, then remove the temporary image. Thanks!
Yes, or you can create a temporary token for access the image.
I'm rendering a template as HTML and making it into a PDF with play2-pdf. When I use an image served through the Assets controller the image is added to the PDF, but when I use an image served through my own Controller method, it doesn't seem to be added to the PDF at all. This is how I serve the image in my own controller: `@Authenticated(Secured.class)