Q:

PHP imagecreatefrom gif() not working for animated gif

I'm letting users upload image files from their desktop and then using the PHP image routines to create thumbnails and resize images for the user's directory.  But this doesn't seem to work at all for an animated gif.  imagecreatefromgif(), for example, seems to peel off the first image of the animation and only work with it. Do I need to completely bypass these functions to get the complete uploaded animated gif to the user's directory?
Thanks

A:

You cannot resize an animated gif image in the way you easily do with jpeg, bmp or other image formats. The function imagecreatefromgif() is not going to help you by any means, so take a look at the below link.
http://phpimageworkshop.com/tutorial/5/manage-animated-gif-with-imageworkshop.html
It should help you solve your problem.

