-
Notifications
You must be signed in to change notification settings - Fork 246
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
Custom styles of paperclip are not rendered in process_in_background. #70
Comments
I can't replicate here. What version of rails are you using? |
My development env is as follows:
|
I think i'm seeing an identical issue, the original image is stored just fine, but none of the styles are saved. Did you make any progress @rorlab ? Same environment here, no errors shown in log...though i only see ONE aws store line: [AWS S3 200 0.060147 0 retries] put_object(:acl=>"public-read",:bucket_name=>"ts-imgs-prod",:content_type=>"image/jpeg",:data=>Paperclip::UploadedFileAdapter: img1-2.jpg,:key=>"photos/201/original/img1-2.jpg") I assume I should be seeing a line like this for EACH of my styles? |
Are you using S3 / Cloud to store images? |
Was, yeah, but decided to nip it in the bud by jumping over to CW since this isn't maintained actively anymore :( |
Same problem here. The styles are not rendered but the worker keeps saving the instance again and again.
|
Solution proposed in #67 solved the issue for me! |
Thank you very much! |
@rorlab: Let me know if it works. I'll need to add a test for it, and get the fix released ASAP. |
OMG~ New process_delayed! method,
in my Gemfile,
Thank you very much! |
I got the same error, Where should put this function (process_delayed!)? |
I faced a problem using delayed_paperclip gem.
I had already set up according to the direction on manual.
When I insert the code "process_in_background" on the relevant model, custom styles of paperclip aren't generated but the original file is well uploaded to server.
I confirmed that all styles of paperclip are well generated without "process_in_background".
My Gemfile is as follows:
In Post model,
in app/views/posts/_form.html.erb,
At this context, when I submit the above form attached with some image file, :medium and :thumb custom styles are not generated at the public/system/attaches directory.
But, when I comment out the line of "process_in_background" in post model, all styles are well generated.
So I think that with "process_in_background", convert function of imagemagick doesn't work. Is that right?
Is there any solution about this?
The text was updated successfully, but these errors were encountered: