Drag'n'Drop Uploads beta1

Being notorious for my constant development builds with stable releases few and far between, and with so many ideas to play with, I decided that the best course of action would be to put Drag'n'Drop Uploads into a beta cycle.

And while I'm at it, how about a quick video to show off the new beta release:

There are still some compatibility issues that need to be figured out, with the biggest issue being WYSIWYG and Google Gears support, but much progress has been made in the last week to iron out as many kinks as possible.

The demonstration site has been updated to the latest beta, so to test things out for yourself head to http://demo.stuar.tc/dragndrop_uploads

For more information and to download the beta head over to the Drag'n'Drop Uploads project page.

Zy (not verified) on 11 December 2009 - 9:46pm

I believe quicksketch has leveled most issues with wysiwyg compatibility in his Insert module. If you haven't checked out its source, maybe that's a way to figure things out. It would allow imagecache presets as well as integration with image_resize_filter. I'm not a programmer, but i know some flash. I'm curious if it would be interesting to get your module to use air as a backup for gears, like:
got a proper browser? go ahead and have fun
no proper brower? see if gears is available
no gears? check for air
(no air? use something dotnettie)
none of the above? degrade unobtrusively

Anonymous (not verified) on 11 December 2009 - 10:45pm

Hi Anonymous,

I am aware of quicksketch's work with Insert, but the issues I have run into with the WYSIWYG module are more specific to the Drag and Drop events, with Google Gears not triggering the events correctly due to the events being fired inside an IFrame.

There is already support for CCK formatters, which allows for ImageCache presets to be used. In the demo video you can see I'm using an ImageCache Thumbnail to Full Image via LightBox2.

I did consider Air, while I can't recall exactly, I'm fairly sure it was not an option.

Cheers,
Deciphered.

Decipher on 12 December 2009 - 7:18am

I completely overlooked the imagecache functionality in the video, thanks. Working without insert makes me rethink my approach for adding captions.
I think it should be possible to do the following after the upload using jquery:
capture option tap of picture to pop up another lightbox with the picture and a form for caption & title/alt (simple image microformat: div/figure img p/caption p/credit) and apply the resulting code. Thing, is i only know some jquery and theming so there's no rights handling there. So then edit would always be possible when a person has access to the wysiwyg.
(I'm in the middle of 2 projects when i should be at the end so i won't be able to write something proper until somewhere mid january. I don't do modules but i could provide a theme template to work form. If anyone else wants to do the honors, by all means.)

whatdoesitwant (not verified) on 26 December 2009 - 10:53am

your demo site shows many mysql errors.
it says none of the drag & drop tables exists

Anonymous (not verified) on 11 December 2009 - 11:33pm

Unfortunately I have been having problems with the demo site, the Demo module seems to be nuking the site every so often instead of resetting it. I must report it as an issue.

The site is back up again, but please be sure to let me know if it happens again.

Cheers,
Deciphered.

Decipher on 12 December 2009 - 7:26am

Wait a minute. How is google gears optional?

Do you mean to tell me that this can work without without any special software installed on the user's computer? I must be missing something.

Scott (not verified) on 12 December 2009 - 12:36am

Hi Scott,

Yes, there is native support for Mozilla Firefox 3.6 (in beta) with their somewhat proprietary take on the new HTML5 File API and for Apple Safari 4 and Google Chrome 2+ with a bit of a trick based around the approach the SwellJS guys took.

If you are using these browsers you do not need anything extra, it would just work.

This is the only way I really wished to approach the problem, but Gears was thrown in to expand the range.

Cheers,
Deciphered.

Decipher on 12 December 2009 - 7:31am

yes i think html5 will support this and browsers with html5 will too just like firefox3.6 etc
so newer browsers will support without plugins(ff3.6)
but 3.5 needs gears installed(gears need windows etc)

mollom why you hate me?

Anonymous (not verified) on 12 December 2009 - 3:35am

Holy smokes, I need to pay more attention to the HTML5 specs. This is all kinds of awesome.

Scott (not verified) on 12 December 2009 - 5:50am

Look great, I will definitely be trying to integrate this with our standard Drupal WYSIWYG.
("standard" is a joke as this development is all moving so fast, love it :)
PS. I like using IMCE or ImageField w/ Insert on my WYSIWYG(s).

~mollom needs to hear "jyLks" before I continue

BeatnikDude (not verified) on 12 December 2009 - 6:04am

Gah! Too bad it's (much) too late for it to go into Drupal 7 core. It would be a real killer.

Good show! Now make it work. ;)

Tom Geller (not verified) on 17 December 2009 - 12:36pm
© 2007 - 2010 deciphered.net. All rights Reserved.