Im using Dropzone.js lib to show files from server.
(see dropzonejs . com/)

The mockfiles are generated but images are not displayed well. They look zoomed or not fit properly into the Thumbnails.

I tryed all that google and documentation says.

Any help?

I made the mockfile like this:

                    var principal = '@Model.Article.Image'; 
                    let mockFile = { name: "principal.png", size: 12345, type: 'image/png', accepted: true };
                    this.emit("addedfile", mockFile);
                    this.emit("thumbnail", mockFile, "http://localhost:49407/file/Image/" + principal);                    
                    this.emit('complete', mockFile);