Sign in
Log inSign up

Bug: GIFs don't load / animate

Heaust's photo
Heaust
·Jan 1, 2022·

1 min read

All the GIFs are static images.

[edit: works fine on chromium based browsers, so try testing with firefox]

Worse thing is, they look fine in preview.

for example the gif below looks fine in preview here, but prolly won't be animated when I post this.

https://cdn.hashnode.com/res/hashnode/image/upload/v1638674844272/yVy1pDBbl.gif

The GIF in the CDN is fine, but the GIF that gets served on published posts has this form

<link>?auto=format,compress&gif-q=60&format=webm

for example, https://cdn.hashnode.com/res/hashnode/image/upload/v1638674844272/yVy1pDBbl.gif?auto=format,compress&gif-q=60&format=webm

The "format" parameter seems to be messing this up,

as https://cdn.hashnode.com/res/hashnode/image/upload/v1638674844272/yVy1pDBbl.gif?auto=compress&gif-q=60 is animated.

Aspects of my articles kind of heavily rely on GIFs to convey information.

So it's a bummer they don't work anymore.

You can take a look at https://heaust.hashnode.dev/threejs-chapter-3

None of the GIFs in the article are animated :(