开发者

Best/Fastest way to UPLOAD files

开发者 https://www.devze.com 2023-01-17 06:28 出处:网络
My users need to upload large amounts of files to a site (only HTTP acces开发者_如何转开发s). Also, no matter how much I tell them to shoot the pictures in low resolutions they keep coming back with M

My users need to upload large amounts of files to a site (only HTTP acces开发者_如何转开发s). Also, no matter how much I tell them to shoot the pictures in low resolutions they keep coming back with Massively sized images. Obviously, they complain that it takes them to long to upload all the files thru a simple HTML form - I'm planning on switching to SWFUpload (http://www.swfupload.org/). Any other suggestions or experiences? I'm programming in LAMP using the CakePHP and jQuery frameworks - solution also needs to be browser agnostic (no ActiveX crap) and not use Java.


The only solution I can see is to process the images client-side but that reduces your options to actually doing the image conversion/transformation in flash or in javascript using the html5 canvas tools.

Resizing an image in an HTML5 canvas

^^ That doesn't look trivial and I'm not so sure canvas can manipulate images that are locally stored.


We're using this plugin...

http://www.milesj.me/resources/script/uploader-plugin


You can use http://www.meiocodigo.com/projects/meioupload/


I built a site that accepts multiple photo uploads with cakephp and the jquery swfupload plugin. It worked pretty well and I also resized the images on the fly with GD. Also, the site used Linux and I didn't have any problems.

0

精彩评论

暂无评论...
验证码 换一张
取 消