I would like to have a script that resizes a saved image and then saves it to a pre-defined folder, is there a way to do this? I've been looking everywhere and can't find a way to do it.
http://www.phpbuilder.com/board/showthread.php?s=&threadid=10240082&highlight=resize
Posted this not so long ago, this function will work with GD 1.x since I don't have GD 2.x on my server I modifed this to work 🙂
have you tried the manual, it's pretty handy
http://www.php.net/manual/en/function.copy.php
http://www.php.net/manual/en/ref.image.php
or
http://www.php.net/manual/en/function.imagecopyresampled.php
and
http://www.php.net/manual/en/function.imagecopyresized.php