change .png images to base64 images