Copy of old repository with update to return base64 encoded image