fixed base64 image urls handling