Hi,
Thanks. It works with my site. I actually want to create a image gallery.
After uploading the image, say girl.jpg, I want to resize it
as thum_girl.jpg. But I also need to makesure the uploaded file
have different name. How I control this, I wrote some code, but not fulfill, can you give a help...
$img = new ImageMagick($FILES[upload]);
if not .jpg { // use explode, how to use?
$img->Convert('jpg');
}
$img->Save(); // save to target dir from the tmp dir. but how abt
same name with exited image in target folder.
$img->resize(100,70,'fit');
$img->Save("thumb");
$img->CleanUp();
echo " here you are!";