Resize using thumbnailimage()

The thumbnailimage method seems to produce good results for me for all sizes of images.