-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to rewrite helper wicked_pdf_image_tag to work with paperclip images #41
Comments
Thanks. That totally works - I needed that! |
Works for me too! Thanks! |
Is there no pull request for this one yet? |
Didn't work for me because my image was not in public folder. image_tag model_with_paperclip.attached_file_name.path(:style) and the image render properly in pdf. |
Hi! Where should I rewrite the method? Inside application_helper.rb? |
Exactly. |
@germanotm thanks for the tip. It took me age to think using |
I had the same issue using Dragonfly. Got around it by doing this:
instead of the usual:
Loading the absolute |
To works with images from paperclip i rewrite this method
The text was updated successfully, but these errors were encountered: