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
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Delete on cascade from Cloud Function
I'm writing a Python function that deletes a user's main row from a table in my database. This row has relationships with other tables that use cascade deletion...
- 1.9.6 Console handles all array columns ...
When creating or updating a row in the appwrite 1.9.6 web console, the form treats all list columns as a type string. Even if the column is a list of booleans, ...