I need to create an automated process that generates the thumbnails of all the images contained in a directory (those that have no thumbnail yet). The problem is the size of these images, and their number is quite considerable. These images have between 1-5 MB.
I said my coworkers the easiest way for this would be to batch process the images with Photoshop, but they said they prefer something which is not subjected to use Photoshop everytime a new image is added to the directory.
I tried another way, which wasn't smart: Collecting the info of the files in an array, then looping thorugh it to make AJAX calls in order to process each one in the background. However, as you might guess, this caused the browser to freeze, and not all the images were processed, due to a timeout, I guess. I must say that I used the GD library and as far as I know, ImageMagick is quite faster.
I also saw once another batch processing with page refresh for each image. This could be interesting too by default.
If you know some good tutorial for this it would be enough. :o