Drag and drop from desktop vs other browser window

So I would imagine the flow as

  1. user drops image into comment
  2. dropped asset comes from desktop or is url
  3. either way ajax upload to s3 (or using imgur api to save space and money) and return url
  4. display as img tag

I have not developed a plugin for discourse yet, just launched my server, but it would rather simple so maybe i’ll take a crack at it.

Thanks.