added an option to always only show one image in previews removed duplicate code
Attach a file by drag & drop or click to upload