Rank 2: Process
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.