use PIL .thumbnail to only thumbnail when the image is above a certain size