set the size of image in config, and then all images in pasteboard or in disk will be resize and then uploaded.