I have apps using paperclip in different versions on different
machines, in one case running off of a recent gem install and in the
other from an older plugin install in /vendor in the app filesystem.
The solution you offered here seems unnecessary for gem version 2.1.2,
which doesn't have the [0] in 'make', and which animates gifs when
they are being resized. Unfortunately, though, while this works
perfectly for some animated gifs, in some other cases the first frame
is being resized differently than the others, causing a kind of jerk
when the images complete their cycle. This behavior seems to be the
same in gem version 2.1.2 as in the slightly earlier plugin with [0]
removed from the 'make' method: "#{ File.expand_path(src.path) }[0]".
I'm urgently trying to solve this issue. If anyone else has it, or
something similar, would you be so kind as to post it here?
and Jonathan, thanks for the awesomeness.
alegscogs
On Jul 7, 10:19 am, Jonathan Yurek <
jyu...@thoughtbot.com> wrote:
> Paperclipis able to resizeanimatedgifs, technically. Because of an
> issue with resizing multi-page PDFs, the resizing has been changed to
> only work on the first frame/page/etc. If you want to change this you
> can remove the "[1]" in the thumbnailer (specifically the calls to
> convert and identify). I'm trying to find a good way to reconcile both
> of those.
>
> On Jul 7, 2009, at 5:13 AM, Cyril Lavedrine wrote:
>
>
>
>
>
>
>
> > Hello,
>
> > First, let me thank you for this wonderfulplugin, file upload has
> > become a breeze since I discovered it ! Second, I'm French, so I'm
> > sorry if you have trouble understanding what I mean...
>
> > I've usedpaperclipfor a few months for my website so that users may
> > upload pictures in a gallery, and also their avatar. My controller
> > automatically resizes avatars when they are uploaded (it keeps the
> > original, a medium size version for user profile and a small one to
> > show beside their comments). I've had no trouble with it until one of
> > my friends uploaded ananimatedgifas his avatar : i noticed the
> > resized versions were notanimated.
> > Is this issue due to a bad setting of my controller, or is it normal ?
> > I thinkPaperclipis able to resizeanimatedgifs, since this topic