News for hackers. Stuff that matters.
Re:Plupload - A beautiful file uploader powered by jQuery by jvdongen on Tuesday January 11, 2011 @03:23AM (#2091343)
Bit of a negative sentiment - pity. Beautiful is a rather subjective thing. It looks not too shabby and there is the core api if you want to make it look really different. The big thing to me is - it is here NOW, it seems to work in the hodge-podge of browsers I've to support, nicely falling back with decreasing browser smartness. And it uses jquery - which I happen to use as well.

I've an application shipping in a few weeks, which has some minor features which require uploading files. Those are not that often used, so I've not spent much time on the upload part yet - just a basic file-upload form.

Things like this however allow me to make those file-uploads look way nicer (from the point of view of the end-user) with very little time investment from my side. And it allows me to do it NOW. And if I want to be cheap, I can get it even for free! (I know, I know, GPL is not about being cheap, leave the torches at home please ;-).

Given the above, I'm not overly concerned as to how it works out over 3 years from now. I've to ship in 4 weeks. And whatever solution I choose now is not set in stone.

So a big "thanks" for a) putting in the hard work and making the tool in the first place and b) bringing it to my attention.

(having said that: I also tripped over the large plus sign in the header ... - but that is easily modified of course, not a major thing).

Re:Plupload - A beautiful file uploader powered by jQuery by xcvd on Wednesday January 12, 2011 @05:51PM (#2098051)
My point is.... Yes, ship in four weeks, but ship to modern browsers with an elegant html5-only decision

Old browsers can have a single, basic file input.

Re:Plupload - A beautiful file uploader powered by jQuery by richcollins on Monday January 10, 2011 @09:52PM (#2090662)
The ui isn't very good. The static header looks like the button that you press to upload.
Re:Plupload - A beautiful file uploader powered by jQuery by samdk on Monday January 10, 2011 @10:45PM (#2090774)
I read this comment, went to look at it, and still clicked on the header just because I couldn't believe it wasn't actually a button.

Calling it "not very good" is a lot nicer than it deserves. It makes no sense to sacrifice functionality for "beauty" in a file upload widget. (And it's not like the rest of it is especially nice looking anyway.)

I'm also really kind of wondering why it's so large. It takes up 258180 pixels by default--that's about a third of my browser window. Unless you're putting this on a page that's meant only for file uploading, it's probably going to take up too much room.

The fact that gigantic, non-functional, unwieldy things like this (and TinyMCE, which happens to have been developed by the same people) are considered the best solutions is one of the reasons I've really come to dislike working with the big open-source CMS's.

Re:Plupload - A beautiful file uploader powered by jQuery by xcvd on Monday January 10, 2011 @10:52PM (#2090786)
As mentioned below, this seems very good http://valums.com/ajax-upload/

I'd be more comfortable styling this to fit my needs than a forced fully blown gizmo

Re:Plupload - A beautiful file uploader powered by jQuery by Kudos on Tuesday January 11, 2011 @04:44AM (#2091470)
The "forced fully blown gizmo" is basically a demo for the underlying code and is completely separate to it. Looking at the github repo, there is apparently a new style jQuery UI demo to replace this.

As someone who has built code against it, you would be foolish to dismiss it.

Re:Plupload - A beautiful file uploader powered by jQuery by xcvd on Monday January 10, 2011 @09:58PM (#2090673)
I'm frustrated that in this day and age this is the best solution people recommend.

Are there any elegant HTML5 multiple file uploaders out there with drag and drop?

That, and direct S3 upload, is the Holy Grail for me.

Re:Plupload - A beautiful file uploader powered by jQuery by aonic on Monday January 10, 2011 @10:23PM (#2090727)
Re:Plupload - A beautiful file uploader powered by jQuery by xcvd on Monday January 10, 2011 @10:35PM (#2090755)
Thanks!

I like the ajax upload.... very simple

fancyupload uses flash.... unless you are Facebook or a government website, I'd avoid all that fancy stuff and keep it simple for the future!

Re:Plupload - A beautiful file uploader powered by jQuery by xcvd on Monday January 10, 2011 @10:01PM (#2090679)
I mean, screw supporting old browsers

Given them a basic, single file uploaded with no fancy

A clean HTML5 implementation, with nice features, is more valued

Re:Plupload - A beautiful file uploader powered by jQuery by jbri on Monday January 10, 2011 @10:19PM (#2090713)
Totally!

I mean, it's not like you can offer people the svelte, clean, fancy option and fall back to HTML POST if that doesn't work or anything. Nosirree.

Re:Plupload - A beautiful file uploader powered by jQuery by atomical on Monday January 10, 2011 @11:14PM (#2090844)
Is this a form of self-satire? I don't understand what is going on here.
Re:Plupload - A beautiful file uploader powered by jQuery by xcvd on Tuesday January 11, 2011 @12:05AM (#2090959)
No, I genuinely would prefer the browser natively handle file transfers rather than relying on old browser plugins and lots of hacks to get old browsers to work
Re:Plupload - A beautiful file uploader powered by jQuery by statictype on Monday January 10, 2011 @11:38PM (#2090908)
Whats wrong with this solution that would be solved with an HTML5-only solution?
Re:Plupload - A beautiful file uploader powered by jQuery by xcvd on Tuesday January 11, 2011 @12:03AM (#2090951)
Complexity.

Dropping back to native is thinking about the future rather than supporting the past with tired hacks and stupid browser plugins.

Re:Plupload - A beautiful file uploader powered by jQuery by spocke on Tuesday January 11, 2011 @02:47AM (#2091284)
@samdk: Plupload is separated into a core API and a jQuery widget that has the UI. So if you don't like the UI you can just change it anyway you like. Also I think you should buy a bigger screen if you think it's to large. 800x600 isn't the default screen size these days. :)

@xcvd: HTML5 upload is far from ready yet. Since only the absolutely latest browsers support it and some of them have pretty serious bugs or limitations. Also IE has still like 50% of the market so unless that changes soon there is a need for fallbacks to Flash, Silverlight etc. We just wanted to develop an uploader that would work regardless of what technology the user has.

Re:Plupload - A beautiful file uploader powered by jQuery by prodigal_erik on Tuesday January 11, 2011 @05:09AM (#2091509)
"You browser doesn't have Flash, Silverlight, Gears, BrowserPlus or HTML5 support."

My browser has <input type="file"> support but it's being completely ignored. I hope whoever wrote this markup will study progressive enhancement, because ugly is better than unusable.

Re:Plupload - A beautiful file uploader powered by jQuery by JonnieCache on Tuesday January 11, 2011 @06:10AM (#2091616)
You can chose to enable/disable the various uploading methods at runtime, including HTML4. This must have been disabled on the example you looked at.
Re:Plupload - A beautiful file uploader powered by jQuery by JonnieCache on Tuesday January 11, 2011 @06:07AM (#2091605)
I have used this, it really works well. You dont have to use the example UI they give you, you can build your own. It throws all the relevant events from a unified API. The UI you see exists in a totally separate library from the core.

I have put it in a couple of projects. Best file upload solution I've found.

It's from moxiecode, the people who did TinyMce.

Re:Plupload - A beautiful file uploader powered by jQuery by swombat on Tuesday January 11, 2011 @06:10AM (#2091613)
Uploadify is also a jQuery plugin and works really well for us:

http://www.uploadify.com/

Re:Plupload - A beautiful file uploader powered by jQuery by anathem on Tuesday January 11, 2011 @10:01AM (#2092042)
There's this: https://github.com/jurisgalang/jquery-sexypost which is a fit for a more general use-case, but it allows you to attach to upload events and roll your own progress indicator.
Re:Plupload - A beautiful file uploader powered by jQuery by CWIZO on Tuesday January 11, 2011 @03:41AM (#2091375)
Selected three files and started uploading, some seconds later it crashed my Chrome (10.0.628.0 dev on Win7). And that header is really a mess (like richcollins said). Too bad I can't say anything positive about it (I would if it worked for me :)).
Re:Plupload - A beautiful file uploader powered by jQuery by chanri on Monday January 10, 2011 @10:18PM (#2090712)
I don't understand. Why is this any different than most jquery upload plugins?

Also, I tried the demo and didn't want to use Google Gears. After I didn't allow Gears permission, the uploader stopped working. This is a problem.

Re:Plupload - A beautiful file uploader powered by jQuery by JonnieCache on Tuesday January 11, 2011 @06:12AM (#2091620)
File a bug. Be a good citizen.
Re:Plupload - A beautiful file uploader powered by jQuery by tomkinstinch on Monday January 10, 2011 @10:00PM (#2090677)
I just switched one of my projects to this. It's nice, but doesn't properly relay responses from uploads to other domains. I understand that may be a limitation of the Flash runtime though.
Re:Plupload - A beautiful file uploader powered by jQuery by christo16 on Tuesday January 11, 2011 @05:50AM (#2091578)
Ugh flash...pass
Re:Plupload - A beautiful file uploader powered by jQuery by trezor on Tuesday January 11, 2011 @03:55AM (#2091397)
Dragging a file into the browser window (Chrome 8, Win 7) I get a popup saying "Invalid extension: <full filename>".

I guess it can use some more work.