LPS-44513 Handle max image size in image uploader