Niels-IO / next-image-export-optimizer

Use Next.js advanced <Image/> component with the static export functionality. Optimizes all static images in an additional step after the Next.js static export.
MIT License
460 stars 56 forks source link

Converted animated images lose animation #138

Closed bryanjtc closed 1 year ago

bryanjtc commented 1 year ago

Adding the animated option to sharp fixes this issue. Ex:

sharp(input.gif, { animated: true }).image.webp()
bryanjtc commented 1 year ago

It seems the option it's already enabled. I keep having the issue on the mobile version of the website that I created using next-image-export-optimizer

Niels-IO commented 1 year ago

Hi @bryanjtc, Could you provide more information? The GIFS on my mobile phone do work. Which browser are you using and could you maybe provide the link or the image to debug the issue?

Niels-IO commented 1 year ago

Cannot fix without the support of bug reporter

bryanjtc commented 1 year ago

Checking in. I had an old version of the dependency. After updating, it worked.