- image를 base64로 encoding된 파일을 받은경우, tag를 원할경우는 tag도 추가가능
const s3ImageUploader = async (base64FileStr, _filename, tag) => {
const split_str = base64FileStr.split(';base64,');
const binaryImageData = split_str[1];
const content_type = split_str[0].split(':')[1];
let ext = content_type.split('/')[1];
if(content_type === 'image/svg+xml') {
ext = 'svg'