Imported PIL package and implemented a thumbnailer