When uploading the image with Dropzone then it will create a thumbnail of it for preview but it will show a blank thumbnail while uploading the non-image file like – text, word, pdf files.
This will be handled by using the dropzone option where check the image type and define the new default thumbnail image.