I am looking for a php script which can run on my ftp server & do the following. The client uploads 100s of images in a folder, as soon as images get uploaded script runs & each image generates a thumbnail & stores either in a sub folder named thumb or in the same directory by adding _thm to the file name. If not automatically then can I do this via corn jobs to run such script periodically or at specified time? I am sure there must be some script which can do this via imagemagick or something else. Can you point me in the right direction to find such script.