convert image to base64 or multi