# Drag and drop from desktop vs other browser window

**URL:** <https://meta.discourse.org/t/drag-and-drop-from-desktop-vs-other-browser-window/16901>\
**Category:** Feature\
**Created:** [2014 年 6 月 26 日午後 8:35 UTC](https://meta.discourse.org/t/drag-and-drop-from-desktop-vs-other-browser-window/16901 "2014-06-26T20:35:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![chrisallick](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisallick/32/114454_2.png) [@chrisallick](https://meta.discourse.org/u/chrisallick)\
**Post date:** [2014 年 6 月 26 日午後 11:16 UTC](https://meta.discourse.org/t/drag-and-drop-from-desktop-vs-other-browser-window/16901/3 "2014-06-26T23:16:03Z")

</div>

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.

---

_[View the full topic](https://meta.discourse.org/t/drag-and-drop-from-desktop-vs-other-browser-window/16901)._
