I have a multiple image field and need it to upload images and animated gifs. These images might be resized. When this happens, the animated gif loses its animation.

Has anyone solved this problem in drupal 8?


There's now imagemagick for Drupal 8. I've been using it with D8 responsive image styles and it works well, the gif animation stays intact.

You'll need to have imagemagick installed on your server and will need the path to the convert binary as well. Typically it's usr/bin or for example with MAMP, it's /Applications/MAMP/Library/bin/

  • According to this article, this process may result in a GIF file significantly bigger than the original: bkosborne.com/blog/… – s427 Feb 15 '17 at 17:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.