Handler for base64 encoded image data