
Hi,
I am having a weird issue where when the user is uploading a file with .webp extension to my appwrite cloud storage bucket (using storage.createFile ), it does not generate a preview.
When the user uploads any other file format, I am able to generate a preview using storage.getFilePreview, however, to display the webp image that the user uploaded, I have to use getFileView.
The attached image shows the list of images in my bucket, notice how the webp images have no thumbnail.
When I invoke getFilePreview on one of the webp, I get the second image.
As stated earlier, invoking getFileView solves the issue, but I am losing out on a lot of image optimizations.

As mentioned in office hours, looks like this is a bug. Can you create a GitHub issue?
Recommended threads
- This morning the project was deleted.
Hello, We had a project transfer a month ago and my customer told me that the project was deleted today. How can I get help for this. Yours sincerely,
- Database error
My code: await databases.createDocument( process.env.APPWRITE_DATABASE, process.env.APPWRITE_COLLECTION_USER, data.userId, ...
- API preflight request not working on .f...
When I am calling a function on my APP through the domain is failing. Because the preflight request (OPTIONS HTTP request) times out. this only occurs with fu...
