Using image instead of base64 string