![](https://cdn.discordapp.com/avatars/271405010259148800/16fd02645936e58f4b4a754daab9b24b.webp)
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.
![](https://cdn.discordapp.com/avatars/462046107556511744/504fd808296728e8e89d82b8ea1e77a9.webp)
As mentioned in office hours, looks like this is a bug. Can you create a GitHub issue?
Recommended threads
- How to install and use system level depe...
I am trying to write a video transcoding pipeline using appwrite functions. The issue i am encountering is that the functions are being executed in an isolated...
- Collection creation not working
Hi I tried to create new collection almost 8-9 hours ago. Still the attributes of the new collection are showing peocessing state I even tried to create sample ...
- PHP Function calling woes
Hi, I'm sending function calls using insomnia. My function has inclusions, but the endpoint simply returns a string, because I am just testing the endpoints w...
![](/images/bgs/pre-footer.png)