Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dropping images from webpages? #13

Open
agittins opened this issue Dec 16, 2013 · 3 comments
Open

Support dropping images from webpages? #13

agittins opened this issue Dec 16, 2013 · 3 comments

Comments

@agittins
Copy link

Been using this for a while now and it's great. One thing that bugs me though is that I can't work out how to get it to support dropping images dragged from another browser window.

I've got drag-and-drop from file browser to web-page working fine, but if I drag an image from a web browser window onto the upload target nothing seems to happen. No messages in the debug console, no post-request.

I'm using Chrome (various versions) but have also tried on firefox.

Is there a way to make this work?

@shybovycha
Copy link
Collaborator

Images, dragged from browser... they are not images itself. They are but text contsining URL to the images you drag.

You can simply verify this dropping one to any OS input. For instance, open a "Run program" window (Win+R on windows, Alt+F2 on most Linux DE's) and drop image there.

@shybovycha
Copy link
Collaborator

If this is yet important feature - I think it's not too hard for me to implement one. Just let me know if you really need it.

@agittins
Copy link
Author

Ahh that makes sense, I've seen it work on google images search for instance and I figured perhaps DnD was working in a different way (ie image data in clipboard or a url object or something) rather than just text of the url.

This feature is important to me - I don't know if it is important to anyone else though! :-) Currently I just have a file browser open, drag from web page to file browser, then file browser to upload control. I have users who need to use it too and it's a bit clumsy for them doing it this way - especially when they see no difference between dragging an image from one place versus dragging it from another.

If you think it won't be too much work I'd really get a lot of use from it, for my particular use-case at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants