using PIL instead of sorl.thumbnail to make thumbnails