ImageMagick is a great command line tool that can modify images but the processing will happen on the server side after image has already been uploaded. You can use exec() within your script to execute the ImageMagick commands
http://www.imagemagick.org/script/index.php > > At 10:01 AM -0400 7/11/07, Dell Sala wrote: > >On Jul 11, 2007, at 7:51 AM, tedd wrote: > > > >>On Wednesday 20 Jun 2007 21:42:13 Nelly Yusupova wrote: > >>> > >>> Is there a script or any way I can resize the pictures before > uploading? > >> > >>Nelly: > >> > >>Sure, you'll have to write something client-side, namely javascript > >>to do it. But, there's all sorts of javascript scripts to resize > >>images available to choose from, try Google "resize images > >>javascript" > >-snip- > >Also cool stuff, but all the processing happens on the server-side. > > > >-- Dell > > My bad - you're right. I had a senior moment. > > I was thinking that because the operation had to take place > client-side that a client-side language should work. However, > javascript doesn't have access to client-side files. > > Sorry, > > tedd > -- _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
