wkhtmltopdf - wicked pdf not displaying amazon s3 images -
a strange thing has happended app , not sure has changed? wicked pdf not longer displaying https://
images amazon s3 server. using images src= "https://pathtoimage.png"
, displaying find before.
the displaying of images not working locally or on heroku. on production server, pdf rendering not working , creating bunch of blank white pages.
i using gem
gem 'wkhtmltopdf-binary' gem 'wicked_pdf'
this fork of wkmtltopdf-binary worked me: https://github.com/pallymore/wkhtmltopdf-binary. insert following lines in gemfile:
gem 'wkhtmltopdf-binary-edge', '~> 0.12.2.1'
Comments
Post a Comment