How to get animated gifs to work in Craft CMS

Oscar de la Hera Gomez
A Craft CMS Flower with the text 'Animated Gifs' beneath it.

In order to allow Craft CMS to use animated gifs, set transformGifs to false in general.php

A screenshot of VSCode showing how to apply transform gifs in the general.php file.

Unfortunately, Craft CMS cleanses and transforms gifs which removes their animations when uploading gifs. To fix this, open your general.php and add the following line:

'transformGifs' => false

Any Questions ?

We are actively looking for feedback on how to improve this resource. Please send us a note to with any thoughts or feedback you may have.

delasign logo

Book a Free Consultation.

An icon of an email.

Click here to email us.

Fill in the details below to book a free consultation or to let us know about something else. Whatever it is, we are here to help.

How can we help you ?

Contact Details