Closed tgoldenberg closed 9 years ago
hello could you post some sample codes? (that are producing empty boxes in the PDF)
I will test that after work :)
BTW, usually I try to avoid using remote images in the html. Could you try:
and - are you using any wkhtmltopdf wrapper gems? (like wicked_pdf or wise_pdf) I think you might need to use a different helper method other than image_tag
to insert images.
So Base64 worked - I had never tried that before! But I used it with the wkhtmltopdf-binary gem, not the -edge version. I am using wicked_pdf gem. Still think there must be some way to fix some of these issues to make it more clear on how to use images. Also my issue is only fixed with the wkhtmltopdf-binary gem, not this one. So I would check out why the blank boxes are appearing as well... Thanks!
I switched over from wkhtmltopdf-binary to this gem in order to render images properly, and that works. However, it is rendering empty boxes in certain parts of my HTML. If I switch back the Gemfile to wkhtmltopdf-binary, the HTML renders but not the images. Any ideas / suggestions??? Thanks!