strapi-plugin-responsive-image icon indicating copy to clipboard operation
strapi-plugin-responsive-image copied to clipboard

Gif support

Open Krislunde opened this issue 2 years ago • 3 comments

Hi!

I suggest adding some override options for ignoring certain file types maybe? This plugin is excellent, but it will also resize gifs, creating new non-animated versions that might get used instead of the original source when srcset is used on the frontend.

I don't think animated resizing is supported in sharp yet, but following this pull, and this issue it looks like sharp will add the functionality any day now.

Krislunde avatar Oct 04 '21 05:10 Krislunde

Sharp now has support for this (animated gif and WebP) as of v0.30.0

Krislunde avatar Feb 09 '22 07:02 Krislunde

Thanks I'll have a look

nicolashmln avatar Feb 10 '22 23:02 nicolashmln

I created this PR to solve animated gif problem https://github.com/nicolashmln/strapi-plugin-responsive-image/pull/50

anton-zyrianov avatar Mar 18 '24 11:03 anton-zyrianov