How to get animated gifs to work in Craft CMS

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

Oscar de la Hera Gomez
Written by Oscar de la Hera Gomez
First published on 09/14/2022 at 15:48
Last Updated on 09/14/2022 at 15:59
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 inquiries@delasign.com with any thoughts or feedback you may have.

SubscribeInquireView All PostsView All ServicesView All Work

Partner with us

We would love to get to know you and see how we can help your organization with its goals and needs.
Let's Talk

Stay Informed

Get occasional updates about our company, research, and product launches.
Subscribe