How can I create a custom annotation

How can I create a custom annotation, similar to a text annotation, but incorporating images instead within a BPMN diagram using tools like bpmn-js or similar libraries in an Angular application?
Screenshot 2023-12-14 180858
As shown in the image above , I want to be able to insert an image in an annotation. what should be the approach to achieve this effect.