Add support for animated gif