I would like to read an image “test.gif” from the public folder on the client and not from the server (where I have access to var fs = Npm.require(‘fs’)). How can I do that?
example : you have path public/img/bunny.jpg
you can do like this :
yes displaying it in a img tag is working okay. I just want to have a file or blob to from the file saved in the public folder to for example use it in collectionFS. I dont want to display it at this time.