Depending on what you are trying to do, I think its always best to keep the ~original~ photos intact ... there is a great script available here:

http://phpthumb.sourceforge.net/

Don't let the "thumb" fool you, its a pretty handy script that allows you to also resize + add filters (watermarks) and hash your URLs if need be. Then in the view part of your code you basically state the size you want and it is cached out for you automatically.

- Jon

On Jun 20, 2007, at 2:13 PM, csnyder wrote:

On 6/20/07, Nelly Yusupova <[EMAIL PROTECTED]> wrote:

Is there a script or any way I can resize the pictures before uploading?

There used to be (circ 2003) commercially-available Active-X controls
that would do this, but those require Internet Explorer or an extended
Firefox.

I thought you might be able to do it in Flash, but I don't think the
Flash player can actually re-encode the images.

Sometimes the best solution is to encourage users to use Picassa or
iPhoto to manage their photos, and then export the ones they want to
upload at some reasonable size.

--
Chris Snyder
http://chxo.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

_______________________________________________
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

Reply via email to