Warning: Failed to load file:///rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBHQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19-4528619d26f56f1272afd5cd7641c666137e55e3/book-wallpaper.jpg (ignore) Server development log Rendered books/ (338.2ms) All styles are embedded in the style html tag/block on the page itself. ![]() How can I get PDFKit to find the precompiled assets folder for the images, and also find active_storage images that are supposed to load within the view? It works perfectly fine in the normal action. I'm using the default image_tag and assets are precompiled for production. It fails every single time that I create the PDF, using. ![]() I'm having some success with creating PDFs with PDFKit, but the images are not loading from active_storage and assets resources.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |