fixed: truncate dataurl size for html and modal bug
fixed: truncate dataurl size for html and modal bug