updated formatting to match source
exprt image as data
proper export of base64