Updated image uploader to add thumbnail preview script.