I’ve been mucking around with CarrierWave today and ran into a bit of an issue. When creating a thumbnail from an animated gif the thumbnail was also animated. Unfortunately this led to some of my image-heavy pages hanging for a bit.
This StackOverflow post offers the following solution:
#Add this method in your uploader
manipulate! do |img, index|
index == 0 ? img : nil
#Adjust your thumbnail process so that it now includes a call to the new function
version :thumb do
process :resize_to_limit => [75, 75]
process :convert => 'jpg'