Forum Moderators: coopster

Message Too Old, No Replies

Client Side Conversion of Image Files

(Before Upload To Server)

         

hutber

9:53 pm on Apr 30, 2008 (gmt 0)

10+ Year Member



So at the moment i get the user to upload the image to the server, then once it is on the server i create a thumbnail for the image. While this is ok its nothing like what i really want.

Idealy i'd like the user select which files they wanted uploaded then on the clients computer convert the image into a smaller version of the same image and then upload it. The main reason for this is the fact that my ISP only offers a 2mb upload and if they wanted to upload a large number of files straight from their camera these files would be 2/3mbs large.

So what i'm asking is if anybody knows of any activeX's, java anything realy of any real value.

Thanks for your time,

Jamie

paulmadillo

10:26 am on May 1, 2008 (gmt 0)

10+ Year Member



I know of a few websites that allow you to do this.
I obviously can't post the url but if you search around there should be a fair few Java based sites that allow image resizing, cropping, compressing etc.

PHP_Chimp

11:23 am on May 1, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have been playing a lot with java recently and would suggest that as the way to go. As it should work on almost any platform, where as most of the other alternatives will either only work on a specific platform, or will require a lot of code branching to cover all of the platforms.

You may be able to do it in javascript, however that is not something I have ever done. You could try the javascript forum to see if they have any ideas.

hutber

7:54 pm on May 1, 2008 (gmt 0)

10+ Year Member



ye, cheers for the replies. although paulmadillo i wasn't looking for a site which does it, more just a way of doing it :p ye java does do it but there are many packages which you have to pay for. I was hoping there might be a php way but i shall certainly look in the javascript fourm cheers.

bubbasheeko

4:40 am on May 2, 2008 (gmt 0)

10+ Year Member



Hi hutber,

PHP is a server side language, so anything that would happen to the uploaded image wouldn't be done until it hit the web server.

I would have to agree with the recommendation that a java app would be your best bet.