changed img references to base64