imageLoader: resize the image when it is too big instead of returning an error
imageLoader: accept smaller input images