Drag and drop

jusspitti - July 30, 2009 - 06:30
Project:Upload previews
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I am not sure is this is the right place to ask for this feature request...

but I think it would be nice to be able to drag the thumbnail to the body field of the node, so the tag of the original image is inserted.

This should work with a WYSIWYG or without it.

and I know there are easy ways to add an Image, but for me this is "natural" way for final users.

I hope to get some feedback about where to ask this feature request and/or is not possible/useful etc.

#1

dman - July 30, 2009 - 06:42

Drag & drop into a textarea is not supported natively by any browser I can think of. But I guess some folk have done things with WYSIWYG javascript libraries that may try.

The closest at the moment are extensions to IMCE or something that may be able to provide a button to insert an attached image at the browser position.

If you can find an open-source proof of concept anywhere else on the web that does what you describe, something could probably be copied ... but without some prior art I think it could be pretty hard to write from scratch. Good luck!

 
 

Drupal is a registered trademark of Dries Buytaert.