changed image references to base64