danielm / uploader

A lightweight and very configurable jQuery plugin for file uploading using ajax(a sync); includes support for queues, progress tracking and drag and drop.
https://danielmg.org/demo/java-script/uploader
MIT License
1.17k stars 385 forks source link

The original image is shown in the thumbnail. #79

Open junggyutae opened 6 years ago

junggyutae commented 6 years ago

In the file list, the original image is shown in a thumbnail, and how do I handle editing the image that will be shown in the thumbnail?

magenizr commented 5 years ago

@junggyutae

This is implemented with FileReader() in the onNewFile() callback method. Have a look at. https://danielmg.org/assets/demo/uploader/js/configs/images.js?v=v10

You can not edit images with dm-file-uploader, but with the callback method onNewFile() you can implement other 3rd party libraries.