Archived from the Transloadit support forum. Originally posted on January 18, 2012; details may be outdated, see our docs for current behavior. Original thread
How can I integrate the basic ability to Drag and Drop files from the desktop ( in Chrome, FIrefox ) with the Transloadit javascript? Basically I have some code that handles accessing a file through Drag and Drop and I have code that uses a traditional selector to upload to transloadit. I would like to use drag and drop with a transloadit form.
we do not officially support this yet. However, what you can try is to alter the value of a file input field upon drag/drop. I doubt this will work, or that browsers will permit it, but it’s worth a try.
We are currently working on some new uploading features that will officially support drag/drop. They should become available within the next 2 - 3 months.
don’t get me wrong - you can totally implement this on your own for browsers that support this. I just meant that the jQuery plugin has no built-in easy-to-use support for this yet.
But you can of course use whatever method you want to change the value of file input fields. Just make sure you gracefully fall back for browsers that do not permit changing the value of a file input field via javascript - like for example IE.