The plugin takes directly the image, base64 encoded