[_] Image uploader with animated gif's
Richard Davey
rich at corephp.co.uk
Tue Jul 4 17:00:26 BST 2006
Dan Course wrote:
> But! ( as always ),
>
> When ever I try to make it upload an 'animated gif', they never play
> (sticks on the first frame). I've checked the file size, and the
> uploaded picture is about half the size (kb) which clearly shows it's
> missing the other frames. Has anyone else had this before, or has any
> suggestions as to what's going wrong, I'm using PHP?
You must be doing something to the image in your script to cause this,
because using the standard move_uploaded_files() function would preserve
any animation, byte for byte.
Are you reading the image in perhaps, saving it out, etc?
Cheers,
Rich
--
Zend Certified Engineer
http://www.corephp.co.uk - PHP Development Services
> But! ( as always ),
>
> When ever I try to make it upload an 'animated gif', they never play
> (sticks on the first frame). I've checked the file size, and the
> uploaded picture is about half the size (kb) which clearly shows it's
> missing the other frames. Has anyone else had this before, or has any
> suggestions as to what's going wrong, I'm using PHP?
You must be doing something to the image in your script to cause this,
because using the standard move_uploaded_files() function would preserve
any animation, byte for byte.
Are you reading the image in perhaps, saving it out, etc?
Cheers,
Rich
--
Zend Certified Engineer
http://www.corephp.co.uk - PHP Development Services