Convert img in css to base64