added thumbnail upload and resize to crud