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
- total parameter not working correctly in...
Hello Appwrite team, I'm experiencing issues with the total parameter in the listRows() method (TablesDB) across multiple SDKs. **Issue 1**: Node.js SDK (node...
- Accessing secure files from storage via ...
Hi everyone, can someone tell me what is the preferred way of accesssing user only files from storage in react native? I saved the file with user only read per...
- Confusion around Tables / TablesDB vs Da...
Hello everyone, I ran into quite a bit of confusion when trying to migrate a Function from Databases.createDocument() to the new Tables / Rows API and wanted t...