add maxImageSize option in documentation