I have an image upload script that uploads 5 images at the same time using PHP. The images are resized proportionally using the GD library. All works well, however when i try to upload animated gifs, the gifs are no longer animated after upload (they display as static once uploaded). I would like someone to look at my script and fix the problem so gifs remain animated after upload.
Thats all :)
P.S - I have attached the file showing my code incase anyone wants to look into the code before bidding on this project. The php file i have attached only shows the script that uploads the images as i assume this is where the problem lies however i do have the full upload script php file.
7 freelancers are bidding on average $70 for this job
The task is clear. You'd need to decompose the gif into frames, thumbnail and re-assemble. If you have imagick, the job is simple. With GD, this task is little more complicated and I can do that.
system("convert [url removed, login to view] -coalesce [url removed, login to view]"); system("convert -size 200x100 [url removed, login to view] -resize 200x10 [url removed, login to view]"); That's all you need to do. provided you have access to system and imagemagick is insta Mere