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?
No, unfortunately 😔
That's sad to hear I have added an issue in github: https://github.com/appwrite/appwrite/issues/10699
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)?
Thanks for your explanation
I have switched to /view endpoint until this is fixed
I'm running on a hosted vps (docker)
Can you message me
<@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
Thanks for your help guys
It was an easy workaround and it worked! Very nice.
Recommended threads
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...