I am using this line of code to show the store images on server in my dropzone area its working fine but the thumbnail which is genrated by this is not proper its not show the thumbnail of full image its just zoom the image and then make its thumbnail this is the screenshot of thumbnail https://www.screencast.com/t/PZJjZIN9VJTV and this is the screenshot of which i want https://www.screencast.com/t/nwfNbMW2mzFx
var mockFile = {
id:id,
name:filePath,
size: '2000',
type: 'image/jpeg',
accepted: true // required if using 'MaxFiles' option
};
// this.files.push(mockFile); // add to files array
this.emit("addedfile", mockFile);
this.emit("thumbnail", mockFile,'http://inspiretech.local/uploads/'+filePath);
this.emit("complete", mockFile);