Friday 2 June 2017

Display the saved images in dropzone after the page is loaded

Now, I use dropzone to implement the image upload and same the images into collectionFS, after upload I can see the images in dropzone, but after refresh the page, there is no images display.I can get the saved images from collectionFS, but how to set the value we can display the images when the page is loaded. according to the checking for dropzone.js file, in the following file, it will define "this.files = []; whether we can pass one savefiles as one options items to this.files? after that, it can load saved files when page is load. function Dropzone(element, options)



via larry

No comments:

Post a Comment