Tuesday, April 17, 2012

[Rails] Carrierwave upload hangs forever

Hi.

I'm making an app where people can share gifs and everything was working properly or so i thought, the problem came when i tried to upload a gif with a large amount of frames and i noticed that the upload process, which is handled by carrierwave, hangs forever. I think that the problem rises when i try to convert this into a "jpeg" using MiniMagick, is anybody else experiencing the same problem? i would like to get some insight on wich is the best way to handle gif uploads in carrierwave and converting them into jpeg's

This is the code im using to convert gifs into jpeg

version :thumb do
    process convert: :jpg
    process resize_to_limit: [200,200]
end

Thanks in advance!

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate