Pillow instead of PIL.
Thumbnails support Image files (Jpeg)