<p>Updating PHP on the server to at least 5.4 fixed the issue. This is apparently <a href="https://github.com/mkoppanen/imagick/issues/20" rel="nofollow">a known Imagick issue</a> with PHP 5.3.</p>

CC BY-SA 3.0
2014-12-02T17:26:54.897Z
Ohh... nice find!
Brad Bell
CC BY-SA 3.0
2014-12-02T17:36:42.887Z
@BradBell Thanks again for the quick support offer. It makes Craft a trusty platform to build on.
louije
CC BY-SA 3.0
2014-12-02T17:14:00.337Z
2014-12-02T17:14:00.337Z
louije
<p>When I upload animated gif assets to a Craft site, they end up static and corrupted, as so:</p>

<p><img src="https://i.sstatic.net/rG72Q.gif" alt="Holey Seagull"></p>

<p>(<a href="http://thumbpress.com/wp-content/uploads/2014/06/funny-gif-seagull-fighting-worm1.gif" rel="nofollow noreferrer">Original here</a>.)</p>

<p>My guess is that what's displayed is the last frame of the animation (which only contains pixels changed from the penultimate frame).</p>

<p>Other image resizing functions work. The site is hosted on a dedicated Ubuntu box with PHP 5.3.10. Here's what <code>phpinfo()</code> says about my ImageMagick/Imagick install.</p>

<pre><code>imagick module version =&gt; 3.1.0RC1
imagick classes =&gt; Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version =&gt; ImageMagick 6.6.9-7 2014-03-06 Q16 http://www.imagemagick.org
</code></pre>

<p>Calling <code>convert source.gif -resize 123x123 dest.gif</code> works on the server—the issue seems to lie in the PHP call to ImageMagick rather than in the installation itself. Answers to <a href="https://craftcms.stackexchange.com/questions/2460/gif-animations-not-appearing">this question</a> indicate that GIF issues disappear with the proper configuration, but I fail to see what's lacking in this particular setup.</p>

CC BY-SA 3.0
2014-12-01T22:54:20.587Z
Any chance this is a public box we could get CP/FTP access to , to see what's going on?  If so, can you send some credentials over to support@buildwithcraft.com?
Brad Bell
<assets><image>
GIF animations garbled and static
# GIF animations garbled and static

(Asked by: username_0 on 2014-12-01)

When I upload animated gif assets to a Craft site, they end up static and corrupted, as so:

(Original here.)
My guess is that what's displayed is the last frame of the animation (which only contains pixels changed from the penultimate frame).
Other image resizing functions work. The site is hosted on a dedicated Ubuntu box with PHP 5.3.10. Here's what phpinfo() says about my ImageMagick/Imagick install.
imagick module version => 3.1.0RC1
imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version => ImageMagick 6.6.9-7 2014-03-06 Q16 http://www.imagemagick.org

Calling convert source.gif -resize 123x123 dest.gif works on the server—the issue seems to lie in the PHP call to ImageMagick rather than in the installation itself. Answers to this question indicate that GIF issues disappear with the proper configuration, but I fail to see what's lacking in this particular setup.

**Tags:** assets, image
> **Comments:**
> **username_1**: Any chance this is a public box we could get CP/FTP access to , to see what's going on?  If so, can you send some credentials over to support@buildwithcraft.com?  

---

## 1 answers

### Answer by username_0 on 2014-12-02. Score: 2 | Accepted answer

Updating PHP on the server to at least 5.4 fixed the issue. This is apparently [a known Imagick issue](https://github.com/mkoppanen/imagick/issues/20) with PHP 5.3.

> **Comments:**
> **username_1**: Ohh... nice find!  
> **username_0**: @BradBell Thanks again for the quick support offer. It makes Craft a trusty platform to build on.  

---

