Uploading Animated GIFS in form with php?

Discussion in 'PHP' started by fatabbot, Nov 26, 2006.

  1. #1
    Hello,

    I have a form where people can upload images. The problem is that if an animated gif is uploaded via the form and displayed on a page later on, the gif is not animated anymore.
    Is there a special procedure to handle animated gifs with php ? What i do now is save the uploaded image in full size + create a smaller thumb of the image.
    I want the full size and the thumb animated... Is this possible ?

    Thanks in advance.
     
    fatabbot, Nov 26, 2006 IP
  2. lbalance

    lbalance Peon

    Messages:
    381
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    are you uploading via http or ftp through the form?
     
    lbalance, Nov 26, 2006 IP
  3. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #3
    nico_swd, Nov 27, 2006 IP
  4. fatabbot

    fatabbot Well-Known Member

    Messages:
    559
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    138
    #4
    via HTTP ...
     
    fatabbot, Nov 27, 2006 IP
  5. fatabbot

    fatabbot Well-Known Member

    Messages:
    559
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    138
    #5
    Why should that help ?
    I'm not looking for a pre-made script to make thumbs. Did you even read my question ? sigh
     
    fatabbot, Nov 27, 2006 IP
  6. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #6
    Did you even click the link? Sigh

    This is a pre-made script that creates thumbs for animated gifs.
     
    nico_swd, Nov 27, 2006 IP
  7. fatabbot

    fatabbot Well-Known Member

    Messages:
    559
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    138
    #7
    Yes i know what PHP thumb does.
    Again you didn't read my post: "I'M NOT LOOKING FOR A PRE-MADE SCRIPT". I'm looking for an explanation on why the gifs are not animated and how to solve this problem.
    So if i wanted a pre-made script, i wouldnt have to start this thread, now would I ?

    There is always some smartass with a crap answer that is not related to the question. Why even reply if you can't help ? :confused:
     
    fatabbot, Nov 27, 2006 IP
  8. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #8
    Look you idiot, you didn't say you don't want a pre-made script in your original post. I was trying to help your stupid face, if you don't appreciate it... then leave it. Dammit. Stop acting like a little bitch...
     
    nico_swd, Nov 27, 2006 IP
  9. fatabbot

    fatabbot Well-Known Member

    Messages:
    559
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    138
    #9
    Take it easy :)
    I appreciate you trying to help, but why reply ?
    I can also be active in every php thread by saying: "www.php.net might help"
     
    fatabbot, Nov 27, 2006 IP
  10. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #10
    Mate, you have issues... I REPLIED CAUSE I THOUGHT IT COULD HELP!

    But obviously it's not the case... so what? Do you want me to apologise for trying to help? Seriously... wtf. This wasn't a typical php.net link.

    WHATEVER... I'm out.
     
    nico_swd, Nov 27, 2006 IP
  11. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #11
    You are not showing us your code, how can we figure the problem. I would take the step nic said, download the phpThumb script, run it. If it works, check out the coding and see what it does that you are not doing.

    If you are not good with PHP to do the above, the only choice is to use the pre-made script.

    Peace,
     
    Barti1987, Nov 27, 2006 IP