I am using ImageMagick convert command for making thumbnails & save the converted images in another directory, one by one, in PHP.
But, cant figure out how to keep the the image name in the converted image.
> convert 1.JPG -resize 120X120 thumb/*.JPG
need to keep the output file names same as the input. Please help.