Skip to content
Back

WEBP preview not working after upgrading to 1.8.0

  • 0
  • 4
  • Self Hosted
  • Storage
Tawfek
24 Oct, 2025, 07:47

Only with preview, I'm getting this error: {"message":"no decode delegate for this image format `WEBP' @ errorblob.cBlobToImage481","code":400,"type":"storage_file_type_unsupported","version":"1.8.0"}

Also in console, the previews of images stopped from working: preview:1 GET ....long file url..... 400 (Bad Request)

In 1.7.4, it was working fine. Also view is working fine in 1.8.0.

Any fast solution to this?

TL;DR
WEBP previews not working after upgrading to 1.8.0 due to missing ImageMagick delegate. Solution: Enable WEBP support or revert to previous image processor config. If running on a hosted VPS (docker), remove and reinstall ImageMagick within the container with "apk del imagemagick-dev" and "apk add imagemagick-dev" to fix preview errors.
D5
24 Oct, 2025, 07:55

No, unfortunately 😔

24 Oct, 2025, 15:06

That's sad to hear I have added an issue in github: https://github.com/appwrite/appwrite/issues/10699

24 Oct, 2025, 20:52

You’re getting that error because your current ImageMagick build (used behind the scenes) doesn’t include a WEBP decode delegate in 1.8.0, so preview requests fail. Viewing still works since it’s handled differently. I can help you fix it by enabling WEBP support or switching the image processor config back to what 1.7.4 used. Quick question so I guide you properly: Are you running this locally with a custom server setup or on a hosted environment (like Docker or Vercel)?

25 Oct, 2025, 07:25

Thanks for your explanation

I have switched to /view endpoint until this is fixed

I'm running on a hosted vps (docker)

25 Oct, 2025, 21:35

Can you message me

26 Oct, 2025, 23:14

<@1159012466295046215> To fix Appwrite image preview errors, run "docker exec -it appwrite sh" to enter the container, then remove and reinstall ImageMagick with "apk del imagemagick-dev" and "apk add imagemagick-dev" this installs cwebp so previews work

27 Oct, 2025, 06:25

Thanks for your help guys

It was an easy workaround and it worked! Very nice.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more