Reponsive animated GIF

Hi there,

currently i am trying to implement a responsive (srcset and sizes) animated GIF. But if i call the srcset with the derivatives function on such a image, i don’t get the expected srcset string.

Is it not possible to use this great feature with animated GIFs?

Thanks a lot!

@sque, Solely based on the docs, I guess it is not possible.

Grav’s media actions are not available to all media types. Animated GIFs are set apart from jpg, jpeg and png.

See the docs on media types and chapter Animated / Vectorized Actions.

Ok that definately makes sense. Thanks a lot for pointing me to the correct docs and sorry that i was not able to find this on my own.