1

I want to select a few files and be able to drag and drop them into the web browser for my website. What is the most reliable way to drag and drop files/photos across major browsers like Firefox and Chrome also does Google provide any libraries for this?

Chris Seymour
  • 75,961
  • 24
  • 144
  • 187
Dev
  • 207
  • 2
  • 3
  • 11

1 Answers1

1

I hope you want the feature same like gmail attachment feature (We can just drag and drop files).

For this we need to use flash. I hope, in Gmail they are using flashGmail Attach a file

Check with this posts, you will get some ideas (using native DnD)

1) Drag-and-drop file upload in Google Chrome/Chromium and Safari?

2) Native Drag + Drop file upload in Firefox 3.6

Community
  • 1
  • 1
Naga Harish M
  • 2,709
  • 1
  • 28
  • 44