CONVERT IMAGES TO EMBEDDED BASE64