views:

50

answers:

3

Hello,

I am currently working on a website which needs images to be uploaded. I have seen some standard image uploading tools which work well, but I am looking for one that compresses on the client side before the upload has been done.

I have looked at a view, but none seem to suit. Can anyone recommend a web based client side image compression tool?

Thanks

~ Kyle

+2  A: 

Take a look at http://www.plupload.com/. It will resize images and chunk them so your server can handle them. I don't think it will actually compress them but this might solve your problem another way.

David Radcliffe
Thats really great! Thanks for that, exactly what we need :)
Kyle
+1  A: 

I am assuming you are talking mainly about JPG images.

SWFUpload supports client side image resizing. (i.e. reducing the number of Pixels, see Demo here.)

Other than that, compressing the image file (as in, compressing the file's binary data using a Zip algorithm) is not going to do you much good: JPG is extremely tough to compress and usually yields only 2-3 percent's savings.

Pekka
I've recently added swfupload to a project I'm working on. It was a bit tricky to setup but does multi-file image compression and it seems to be working 98% of the time. It did manage to corrupt a couple of images though so it isn't 100%. On the other hand the problem could easily be the fault of whatever crappy camera or tool made the images in the first place.
SpliFF