javascript - Store image thumbnails on server with Dropzone.js -
i'm using dropzone.js angular.js upload images, didn't find method, how can upload thumbnails server.
.dropzone({ url: "/gallery/add", maxfilesize: 100, paramname: "uploadfile", createimagethumbnails: true, thumbnailwidth: 200, init: function() { this.on('addedfile', function(file) { // maybe here }); this.on('thumbnail', function(file){ // or here }); } });
problem thumbnails
at present, not possible dropzone.js. there github issue while requested functionality. can review comments tend agree first commenter says
for large images creating thumbnails clientside slow (the browsers not image processing tool), why thumbnails generated images < 2mb
doing on server easy, cheap , more versatile.
Comments
Post a Comment