Question : Image re-sizing

Hello,
I have been accepting up to 3MB in our database and then when needed pulling the pics out of the database and re-sizing them.  However, I'm guessing it takes up too much space when I do this.  So, I'm wanting to re-size the pics before putting them in the database, but I'm not sure where to start.  Can you give me some insight on how this should be done?

Thanks,
~Amy

Answer : Image re-sizing

You have the filename of the temp file, you should be able to use a gd function on it to resize it prior to moving.
See http://uk3.php.net/manual/en/function.imagecopyresampled.php
There is a demo there that should help.
Random Solutions  
 
programming4us programming4us