mi sa che con quello spazio nel nome del file dovresti mettere tutto tra doppie apici. Es:

rename("newsimg/$thmb_name", $thumbnail);