This is a more friendly & modern way to attach files.
draguploader.png

gmail.png

CommentFileSizeAuthor
gmail.png12.77 KBdroplet
draguploader.png39.68 KBdroplet
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

webchick’s picture

Status: Active » Closed (duplicate)
quicksketch’s picture

Status: Closed (duplicate) » Active

Hey @droplet. The other issue definitely didn't solve this. Perhaps this should implement the recommended design from http://groups.drupal.org/node/283223#File_Field?

I've mentioned it a few times before, but this design requires some clever coding to hide the actual file field itself. Hiding an input type="file" requires quite a bit of work last time I investigated this. Additionally, I'm not sure that mock is really the best idea considering users *expect* to be able to click on a browse button, especially on devices that don't have drag and drop at all (tablets and phones).

nod_’s picture

Issue tags: +JavaScript

tag

Dave Reid’s picture

I would much prefer implementing http://groups.drupal.org/node/283223#File_Field instead of copying what WordPress does.

Bojhan’s picture

Issue tags: -Needs usability review

@quicksketch The design offered offers the ability to both, add using a button and/or drop in the dropable area. I am not very concerned with replacing the traditional widget, which pretty much all major systems (gmail, facebook) override. With that we should handle both usecases you outlined.

droplet’s picture

http://groups.drupal.org/node/283223#File_Field
Looks good.

However I'd expect the drag & drop area expand to larger when i dragging a file.

swentel’s picture

Status: Active » Closed (duplicate)