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

  1. for large images creating thumbnails clientside slow (the browsers not image processing tool), why thumbnails generated images < 2mb

  2. doing on server easy, cheap , more versatile.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -