Add resize opts for thumbnail generations

allows us to for example only resize if an image is larger than the thumbnail size (don't upscale)
1.1.0