change base64 to use blob urls