Closed Anandks1993 closed 6 years ago
you need to create new anno object for each image ,
like window.anno = new Y; anno.makeAnnotatable(imageEl);
If you want to annotate multiple images , then you need create new anno object and make annotate by image id ,i mean image element like window.anno = new Y; anno.makeAnnotatable(imageEl);
Each image need to has different id's
Thank you @nagarajuma it worked.
I am using this library with react js. I am rendering 6 images and added the class name as annotatable to it. But annotation is applied only to the first image, leaving the other images.
Below is the code I used to load image.
Can somebody please help me to resolve this issue. Thanks in advance.