hzeller / augenmass

Measure relative sizes on background image.
103 stars 20 forks source link

Drag-and-drop onto canvas #3

Open ErikDeBruijn opened 10 years ago

ErikDeBruijn commented 10 years ago

This is a great example of how you can implement a drag-and-drop behavior for photo's to take measurements from: http://www.inwebson.com/demo/html5-drag-and-drop-file-upload/

It's always best to have a large drop area which responds as you hover over it.

I've also implemented this in the YouMagine upload form here, if you want to take a look at it: https://www.youmagine.com/designs/new (it does require an account)

pointyointment commented 5 years ago

You can already drag and drop onto the "Choose file…" button (or at least I was able to).

hzeller commented 5 years ago

I never use drag-and-drop, because then I have to open a file-manager first which is somewhat inconvenient, but if someone wants to provide a pull-request, I am happy to accept it :)