vsivsi / meteor-file-collection

Extends Meteor Collections to handle file data using MongoDB gridFS.
http://atmospherejs.com/vsivsi/file-collection
Other
159 stars 37 forks source link

where is my file? #155

Closed varunajmera0 closed 7 years ago

varunajmera0 commented 7 years ago

Where is my file? i uploaded image . how can i see my image?

vsivsi commented 7 years ago

If the upload succeeded, the image is stored in a MongoDB gridFS collection. You can either get a readable stream for the file on the server or you can retrieve it using HTTP.

I suggest you start with the sample app:

https://github.com/vsivsi/meteor-file-sample-app

varunajmera0 commented 7 years ago

When i upload the image , database will make entry like img name, extension etc.. U want to say img is stored in db. @vsivsi

vsivsi commented 7 years ago

Yes the image is stored in the DB. To understand you need to learn about gridFS:

https://docs.mongodb.com/manual/core/gridfs/

I'm happy to answer specific questions about file-collection, but I can't give you a basic tutorial on how the package works. There is a lot of documentation and sample code for you to study. Please do so.