ruby on rails - No pics in my PDF created with PdfKit on heroku -
I have an app that works well in development and on my current production server.
I want to move Heroko free (basic configuration: 1 Dino, 1 employee). Unfortunately, PDF generation ( PDFKit use ) is okay, but without pictures defined in my CSS An alternative solution has been found, but I'm still eager to know a better option: A different file is included in a dedicated view for HTML only Finally, Strong> view for the PDF: This is probably an issue in the manner described in the URL CSS. As I remember, they should be file paths full path. What does your CSS look like?
.foo {background-image: url (<% = Rails.root%> / public / images / Bar.png)}
>
Comments
Post a Comment