I am unable to fetch images outside my project directory. Is there anyway to fetch images outdside project directory
What do you mean when you said “fetch images”?
You can read files on server with absolute path. You can also download images by using HTTP client.
i am uploading images outside the project directory
Like my project is on D: drive locally so i am uploading images to
D:/data/images
now i want them to display in my application.
I am using meteor-files
If you set the storagePath
in Meteor-Files, it should automatically put the files in that folder and retrieve them when you access that file’s url?
Can you post the code where you instantiate your FilesCollection instance?