-
Notifications
You must be signed in to change notification settings - Fork 83
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
Don't Resize Source Image #34
Comments
+1 |
1 similar comment
+1 |
I've found a solution, it's a little hacky but I'll update here later on today when I get home from work. |
@brodyhoskins awesome. I'm stuck in a custom processor rabbit hole so I'd appreciate any other takes on this problem. |
@brodyhoskins any chance I could see your solution? Thanks! |
@davidmccoy Sorry for the late response! It’s been so long that I found the solution, I can’t find it in my code. It did involve a custom processor though, but I’m unable to find it under |
No worries, thanks anyway |
For all those interested, the solution is to stop papercrop from automatically adding itself as a processor for every style. You can see how I did this here. |
@davidmccoy How should the styles declaration be then according to your solution? Something like this? has_attached_file :image, styles: { thumb: {"150x150#", processors: [:papercrop] } } Thanks! |
@darum you should specify the :geometry parameter as well as the :processor parameter, so:
|
Great, thanks! On Mon, Jun 13, 2016 at 4:33 PM, David McCoy [email protected]
Luis Roig |
Can anyone please tell me if I can use different aspect ratio for different styles? |
Is there a way to not crop every style?
The text was updated successfully, but these errors were encountered: