On Wednesday 20 Jun 2007 21:42:13 Nelly Yusupova wrote:
Hello Everyone,
I wrote a script that allows users to upload up to 10 photo files to the
server. The script automatically resizes the photos to the appropriate
size. The upload and resizing scripts are working perfectly. The problem
is that clients are uploading large photo files and it takes a long time to
upload them.
Is there a script or any way I can resize the pictures before uploading?
Thank you in advance.
Sincerely,
Nelly Yusupova
DigitalWoman.com
<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
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"
Here's one that should do with a little work:
http://www.xs4all.nl/~sbpoley/webmatters/resize.html
Here's one that allows the user to crop and resize their pictures.
http://mondaybynoon.com/2007/01/22/crop-resize-with-javascript-php-and-imagemagick/
Lot's of neat stuff.
I would like to see your end-result.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
_______________________________________________
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