Question:

Animated GIFs not working in Craft with ImageMagick installed

Kayden: 20 May 2022

When I upload a GIF I either get the first frame or a garbled image (https://share.getcloudapp.com/L1u7BXrA).

Looking around at similar questions, Craft needs ImageMagick installed to properly transform GIFs after upload.

I can confirm ImageMagick is installed and being used as the image driver (https://share.getcloudapp.com/BluZKGYw).

Server has php-imagick and imagemagick installed.

I have 'imageDriver' => 'imagick' set in general.php

Using Amazon S3 to store images.

Anything else I should be trying? Thanks.

Answer:
Thomas: 20 May 2022

I ended up applying this configuration to config > general.php so GIFs aren't transformed.

'transformGifs' => false

https://docs.craftcms.com/v3/config/config-settings.html#transformgifs