5

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?

1

1 Answer 1

4

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/

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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