Attachment_fu with animated gifs?

Is this possible? I want to be able to upload animated gifs and have
attachment_fu retain the animation. I’ve got everything set up but when
I upload .gifs the new files do not animated. Is there something special
I need to do to enable this or is it just not possible? Thanks.

Lar Van der jagt wrote:

Is this possible? I want to be able to upload animated gifs and have
attachment_fu retain the animation. I’ve got everything set up but when
I upload .gifs the new files do not animated. Is there something special
I need to do to enable this or is it just not possible? Thanks.

What is their file extension after the file is uploaded?

–Scott T.

On 6/13/07, Scott thorpe [email protected] wrote:

Lar Van der jagt wrote:

Is this possible? I want to be able to upload animated gifs and have
attachment_fu retain the animation. I’ve got everything set up but when
I upload .gifs the new files do not animated. Is there something special
I need to do to enable this or is it just not possible? Thanks.

What is their file extension after the file is uploaded?

You’re not resizing them are you? I’ve never worked with animated
files. Feel free to send in a tested patch if you have to fix
something.


Rick O.
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com

On Jun 13, 2007, at 4:00 PM, Lar Van der jagt wrote:

fit 800x800 and the image is smaller than that, but still looks
like it
has been resized with some dither options on, because the quality
is not
as good.

This is for my portfolio website, and I have done some animated banner
ads that I want to include.

I’m new to Ruby on Rails so a patch might be beyond my skills at this
point, but if I figure out a work around I will post it.

Since you mention that your gifs are smaller than the 800x800, use
the form of the resize option that says “only if they need to be made
smaller”:

“800x800>”

See:

http://www.imagemagick.org/RMagick/doc/image1.html#change_geometry
http://www.imagemagick.org/RMagick/doc/imusage.html#geometry
http://www.imagemagick.org/RMagick/doc/struct.html#Geometry

-Rob

Rob B. http://agileconsultingllc.com
[email protected]

Scott thorpe wrote:

What is their file extension after the file is uploaded?

–Scott T.

File extension stays .gif. I am using thumbnails, which I do not need to
animate, but the full size needs to animate. I have it set to resize to
fit 800x800 and the image is smaller than that, but still looks like it
has been resized with some dither options on, because the quality is not
as good.

This is for my portfolio website, and I have done some animated banner
ads that I want to include.

I’m new to Ruby on Rails so a patch might be beyond my skills at this
point, but if I figure out a work around I will post it.

Rob B. wrote:

Since you mention that your gifs are smaller than the 800x800, use
the form of the resize option that says “only if they need to be made
smaller”:

“800x800>”

See:

http://www.imagemagick.org/RMagick/doc/image1.html#change_geometry
http://www.imagemagick.org/RMagick/doc/imusage.html#geometry
http://www.imagemagick.org/RMagick/doc/struct.html#Geometry

-Rob

Rob B. http://agileconsultingllc.com
[email protected]

I actually am using that form, and it works fine except that it still
seems to save a new copy anyways, thus losing the rest of the frames.