in reply to Image::Thumbnail work under windows but not on linux

What is the corresponding script that does work on Windows?

And a style suggestion: change uploadImage to acceptUploadedImage to better describe what it actually does. The image has been uploaded before your script begins to run.