Rank 1: Thread
I was thinking that if i deleted a file from appwrite storage(the file being a photo), automatically the file preview would no longer be showing the image since it has been deleted from the storage. But as I tried to implement it , the delete function was successful but the photo was sill available on the application. I want to confirm where the issue is coming from .
storage.getFilePreview("BUCKET_ID",fileID)
This is the function I used to preview the image, but now I have deleted the file, I am confused as to why I am still seeing the image.
Building this project with React.
Thank you