Support `image_size` and resize image with thumbnail
We should support a new image_size
parameter from the user_configuration, no defaults, type int
.
If set, the element's image should be resized to this size using PIL.Image.Image.thumbnail before feeding it to the model.
This parameter can be set via the model_configuration.