Simple php script to upload files to the server with the images converted to the thumbnail view