Upgrading to 2.12.6.0 broke image display on Heroku
forrestblount opened this issue · 4 comments
We upgraded to 2.12.6.0 and this caused images to be dropped from our PDFs. We use WickedPDF and both the standard image_tag
and wicked_pdf_image_tag
started rendering as empty image squares in the generated PDFs.
Rolling back to 2.12.5.0 resolved the issue for us.
Hi - this looks like a wkhtmltopdf
issue - could you also open a ticket over there? https://github.com/wkhtmltopdf/wkhtmltopdf/issues
Thanks!
Works still great for our Rails 7.0 app with Wicked PDF 2.6.3 on Heroku-22 (wkhtmltopdf-heroku 2.12.6.1.pre.jammy
), for all common image formats (included with the image_tag
helper) and even HTML canvas based graphics.
For the few SVG files we use, we had to inline them using the inline_svg
gem for Rails.
Hi - in my case Rails 6
and wkhtmltopdf-heroku 2.12.6.1.pre.jammy
, I had to use image_tag wicked_pdf_asset_base64("image.jpg")
for pictures in assests/images
.
hope this can help !
Confirmed that rolling back to 2.12.5.0 fixes broken images on Heroku-20.