PDA

View Full Version : Problem with animated Gif's


skidpics
March 14th, 2009, 11:03 PM
I have users uploading animated gifs, and imagemagik fails to generate/show a medium images for it for some reason.

I have noticed this with a few uploads already.

Here is a link of a sample of the problem: Free image hosting, free photo sharing, Create free photo albums at Skidpics - my girlfriend (http://skidpics.com/showphoto.php/photo/19149)

Any suggestions how to fix this?

Chuck S
March 14th, 2009, 11:34 PM
what does GD2 do?

animated gifs which are not normal gifs I know can be very tricky since they are not really a supported format with any processor.

skidpics
March 14th, 2009, 11:35 PM
haven't tried GD2 - BUt I know the thumbnail gets generated fine. WIll have to check.

Chuck S
March 14th, 2009, 11:36 PM
By the way thats not a medium image in your example its the main image

The problem with animated gifs is they are layers and that can play havoc with image processors

skidpics
March 14th, 2009, 11:48 PM
I will retrieve the image and switch to GD2 to see what it does. My understanding is that GD is more intense on the server?

Chuck S
March 15th, 2009, 04:22 AM
Not really it is only part of PHP and consumes PHP memory which your application also uses.